aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-12-05 15:45:20 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:15 +0100
commit06c20d3e32c33c4da6d9fbc43aebaeb38c45b859 (patch)
treebea4c3191a3af0ebc07c33aafb37b4383fd43cea /libavcodec
parentda5ba26b9e25f408e8d2f9428c9eca699f11a7db (diff)
downloadffmpeg-06c20d3e32c33c4da6d9fbc43aebaeb38c45b859.tar.gz
lavc: Drop deprecated av_fast_malloc() compatibility
Deprecated in 10/2013.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h5
-rw-r--r--libavcodec/version.h3
2 files changed, 0 insertions, 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