changeset 12458:4a425a99f543 libavcodec

Add #ifndef around FF_API_MM_FLAGS. The #ifndef is required to allow for example some automated regression tests by simply configuring with: --extra-cflags="-DFF_API_FOO=0".
author stefano
date Sun, 05 Sep 2010 21:04:11 +0000
parents 2982071047a2
children b3f8dba49d1f
files avcodec.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sun Sep 05 10:10:16 2010 +0000
+++ b/avcodec.h	Sun Sep 05 21:04:11 2010 +0000
@@ -51,7 +51,9 @@
 #ifndef FF_API_PALETTE_CONTROL
 #define FF_API_PALETTE_CONTROL  (LIBAVCODEC_VERSION_MAJOR < 54)
 #endif
+#ifndef FF_API_MM_FLAGS
 #define FF_API_MM_FLAGS         (LIBAVCODEC_VERSION_MAJOR < 53)
+#endif
 
 #define AV_NOPTS_VALUE          INT64_C(0x8000000000000000)
 #define AV_TIME_BASE            1000000