aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
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);
}