libav: better libav version check for CODEC_ID -> AV_CODEC_ID transition #2

This commit is contained in:
Jaroslav Kysela 2014-08-06 21:05:31 +02:00
parent 8200b55992
commit 6d19440706

View file

@ -33,7 +33,7 @@ http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=104e10fb426f903ba9157fdbfe3
This list must be updated every time we use a new AV_CODEC_ID
*/
#if LIBAVCODEC_VERSION_MAJOR < 54 && LIBAVCODEC_VERSION_MINOR < 25
#if LIBAVCODEC_VERSION_MAJOR < 54 || (LIBAVCODEC_VERSION_MAJOR == 54 && LIBAVCODEC_VERSION_MINOR < 25)
#define AVCodecID CodecID
#define AV_CODEC_ID_AAC CODEC_ID_AAC
#define AV_CODEC_ID_AC3 CODEC_ID_AC3