diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index 0b85122f0..7695dcb4f 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -86,7 +86,7 @@ ffmpeg_init(gcc_unused const config_param ¶m) return true; } -#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 5, 0) +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 25, 0) /* FFmpeg 3.1 */ gcc_pure static const AVCodecParameters &