mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 09:31:13 +02:00
Use av_free instead of avcodec_free_frame for old libav/FFmpeg versions.
This commit is contained in:
parent
14b47b46ab
commit
80fa80dcf4
@ -65,6 +65,10 @@ extern "C" {
|
|||||||
#define av_frame_free avcodec_free_frame
|
#define av_frame_free avcodec_free_frame
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
|
||||||
|
#define avcodec_free_frame av_free
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PKT_FLAG_KEY
|
#ifndef PKT_FLAG_KEY
|
||||||
#define PKT_FLAG_KEY AV_PKT_FLAG_KEY
|
#define PKT_FLAG_KEY AV_PKT_FLAG_KEY
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user