summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
index 25d9297..dd772ce 100644
--- a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
+++ b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
@@ -378,7 +378,7 @@ retry:
}
int decoded;
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 12, 100)
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 106, 100)
int len = avcodec_receive_frame(d->audioStream_ctx, decodeFrame);
if (len == 0) {
decoded = 1;