From 06c20d3e32c33c4da6d9fbc43aebaeb38c45b859 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 5 Dec 2016 15:45:20 -0500 Subject: [PATCH] lavc: Drop deprecated av_fast_malloc() compatibility Deprecated in 10/2013. --- libavcodec/avcodec.h | 5 ----- libavcodec/version.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 6fd76b5329..86632f28b8 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -41,11 +41,6 @@ #include "version.h" -#if FF_API_FAST_MALLOC -// to provide fast_*alloc -#include "libavutil/mem.h" -#endif - /** * @defgroup libavc Encoding/Decoding Library * @{ diff --git a/libavcodec/version.h b/libavcodec/version.h index da2d5e5328..3fca559fc0 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -47,9 +47,6 @@ * the public API and may change, break or disappear at any time. */ -#ifndef FF_API_FAST_MALLOC -#define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 58) -#endif #ifndef FF_API_EMU_EDGE #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58) #endif