[FFmpeg-cvslog] r25043 - trunk/libavcodec/avcodec.h

stefano subversion
Sun Sep 5 23:04:11 CEST 2010


Author: stefano
Date: Sun Sep  5 23:04:11 2010
New Revision: 25043

Log:
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".

Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Sun Sep  5 12:10:16 2010	(r25042)
+++ trunk/libavcodec/avcodec.h	Sun Sep  5 23:04:11 2010	(r25043)
@@ -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



More information about the ffmpeg-cvslog mailing list