Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libav: better libav version check for CODEC_ID -> AV_CODEC_ID transit…
…ion #2
  • Loading branch information
perexg committed Aug 6, 2014
1 parent 8200b55 commit 6d19440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libav.h
Expand Up @@ -33,7 +33,7 @@ For version info please see:
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
Expand Down

0 comments on commit 6d19440

Please sign in to comment.