diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 16:46:01 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-14 09:41:03 +0100 |
commit | aa241229891173b0357eee04e6ca78f806cc9c0c (patch) | |
tree | 2e5e24d9697d1f31e68523790d8530a669fe9f16 /libavcodec/version.h | |
parent | b6094811f9fca66cdf853420696e96fdc3e4987a (diff) | |
download | ffmpeg-aa241229891173b0357eee04e6ca78f806cc9c0c.tar.gz |
lavc: deprecate FF_MAX_B_FRAMES
We should not arbitrarily decide the maximum B-frame number for all
encoders supported by Libav, each encoder should be able to set its own
limits.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 9ee6947d7d..5f86245f1d 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -109,5 +109,8 @@ #ifndef FF_API_MB_TYPE #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 56) #endif +#ifndef FF_API_MAX_BFRAMES +#define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 56) +#endif #endif /* AVCODEC_VERSION_H */ |