mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-30 00:18:45 +01:00
Use CodecID instead of AVCodecID for old libav/FFmpeg versions.
This commit is contained in:
@@ -49,6 +49,10 @@ extern "C" {
|
|||||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
|
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
|
||||||
#define avcodec_free_frame av_free
|
#define avcodec_free_frame av_free
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 51, 100)
|
||||||
|
#define AVCodecID CodecID
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user