[FFmpeg-cvslog] avcodec: remove obsolete FF_API_FAST_MALLOC cruft

James Almer git at videolan.org
Sun Oct 5 22:19:06 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Sep 14 20:56:06 2014 -0300| [42111bb960b5c2289a4feb4aa8ab1ef45a02b2fc] | committer: James Almer

avcodec: remove obsolete FF_API_FAST_MALLOC cruft

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/avcodec.h |    5 -----
 libavcodec/version.h |    3 ---
 2 files changed, 8 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1484b61..7f985d4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -42,11 +42,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 baf1b4d..0bbf453 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -132,9 +132,6 @@
 #ifndef FF_API_MAX_BFRAMES
 #define FF_API_MAX_BFRAMES       (LIBAVCODEC_VERSION_MAJOR < 57)
 #endif
-#ifndef FF_API_FAST_MALLOC
-#define FF_API_FAST_MALLOC       (LIBAVCODEC_VERSION_MAJOR < 56)
-#endif
 #ifndef FF_API_NEG_LINESIZES
 #define FF_API_NEG_LINESIZES     (LIBAVCODEC_VERSION_MAJOR < 57)
 #endif



More information about the ffmpeg-cvslog mailing list