Mercurial > libavcodec.hg
comparison avcodec.h @ 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 | a5ddb39627fd |
children | ffb3668ff7af |
comparison
equal
deleted
inserted
replaced
12457:2982071047a2 | 12458:4a425a99f543 |
---|---|
49 * They may change, break or disappear at any time. | 49 * They may change, break or disappear at any time. |
50 */ | 50 */ |
51 #ifndef FF_API_PALETTE_CONTROL | 51 #ifndef FF_API_PALETTE_CONTROL |
52 #define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54) | 52 #define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54) |
53 #endif | 53 #endif |
54 #ifndef FF_API_MM_FLAGS | |
54 #define FF_API_MM_FLAGS (LIBAVCODEC_VERSION_MAJOR < 53) | 55 #define FF_API_MM_FLAGS (LIBAVCODEC_VERSION_MAJOR < 53) |
56 #endif | |
55 | 57 |
56 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) | 58 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) |
57 #define AV_TIME_BASE 1000000 | 59 #define AV_TIME_BASE 1000000 |
58 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} | 60 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} |
59 | 61 |