# HG changeset patch # User stefano # Date 1283720651 0 # Node ID 4a425a99f543763d894b098ff9232259eafc0f45 # Parent 2982071047a2559efc3adcf65e78e61bc79d3300 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". diff -r 2982071047a2 -r 4a425a99f543 avcodec.h --- 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