[FFmpeg-cvslog] lavc: Drop deprecated av_fast_malloc() compatibility

Vittorio Giovara git at videolan.org
Mon Oct 23 22:01:15 EEST 2017


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Dec  5 15:45:20 2016 -0500| [06c20d3e32c33c4da6d9fbc43aebaeb38c45b859] | committer: Vittorio Giovara

lavc: Drop deprecated av_fast_malloc() compatibility

Deprecated in 10/2013.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06c20d3e32c33c4da6d9fbc43aebaeb38c45b859
---

 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



More information about the ffmpeg-cvslog mailing list