[FFmpeg-cvslog] avcodec: disable FF_API_FAST_MALLOC

Michael Niedermayer git at videolan.org
Sun Aug 10 02:01:06 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 10 01:41:57 2014 +0200| [a973e01501bc3ca5c61d778f97f350837d4ed481] | committer: Michael Niedermayer

avcodec: disable FF_API_FAST_MALLOC

It causes build failures in some cases and the functions are provided by
libavutil so the wraper should not be needed anymore

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/version.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/version.h b/libavcodec/version.h
index 0847104..459cd29 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -133,7 +133,7 @@
 #define FF_API_MAX_BFRAMES       (LIBAVCODEC_VERSION_MAJOR < 57)
 #endif
 #ifndef FF_API_FAST_MALLOC
-#define FF_API_FAST_MALLOC       (LIBAVCODEC_VERSION_MAJOR < 57)
+#define FF_API_FAST_MALLOC       (LIBAVCODEC_VERSION_MAJOR < 56)
 #endif
 #ifndef FF_API_NEG_LINESIZES
 #define FF_API_NEG_LINESIZES     (LIBAVCODEC_VERSION_MAJOR < 57)



More information about the ffmpeg-cvslog mailing list