diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-21 19:12:28 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-21 19:12:28 +0200 |
commit | 5ba4c059535c2660817f85a39c9f54502b09e5d8 (patch) | |
tree | f080a7c6dd4ee9d0337446309e6061725c5f277d /src | |
parent | f8237ca5ae1c6a252764a8c459d7bbd6f66cda4b (diff) |
Fix build for older version of ffmpeg (linux mint 20.3 for example)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c210fe7..67552f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -624,7 +624,7 @@ static AVFrame* open_audio(AVCodecContext *audio_codec_context) { return frame; } -#if FF_API_BUFFER_SIZE_T +#if LIBAVUTIL_VERSION_MAJOR < 57 static AVBufferRef* dummy_hw_frame_init(int size) { return av_buffer_alloc(size); } |