From a973e01501bc3ca5c61d778f97f350837d4ed481 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Aug 2014 01:41:57 +0200 Subject: [PATCH] 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 --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 08471046a5..459cd295d6 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)