summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-10 01:41:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-10 01:53:10 +0200
commita973e01501bc3ca5c61d778f97f350837d4ed481 (patch)
treed8d8d152add5cf469388cba50db789cf0b6c3896 /libavcodec
parentc218d8218d95684c5e1b4c09ed0f258457f0ae7c (diff)
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@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/version.h2
1 files changed, 1 insertions, 1 deletions
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)