1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Use CodecID instead of AVCodecID for old libav/FFmpeg versions.

This commit is contained in:
benjamin.drung@gmail.com 2014-05-25 22:15:59 +00:00
parent 0a1999130d
commit 12a9d61d56

View File

@ -49,6 +49,10 @@ extern "C" {
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
#define avcodec_free_frame av_free
#endif
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 51, 100)
#define AVCodecID CodecID
#endif
}
#endif