libav: better libav version check for CODEC_ID -> AV_CODEC_ID transition #2
This commit is contained in:
parent
8200b55992
commit
6d19440706
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue