diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index ede391f4d6..986e579813 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -121,7 +121,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) { LavfiContext *lavfi = avctx->priv_data; AVFilterInOut *input_links = NULL, *output_links = NULL, *inout; - AVFilter *buffersink, *abuffersink; + const AVFilter *buffersink, *abuffersink; int *pix_fmts = create_all_formats(AV_PIX_FMT_NB); enum AVMediaType type; int ret = 0, i, n;