From 3325b2d9ce91e7e2ffe223fccd2744232cb2483c Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Wed, 6 Jun 2018 00:00:22 +0200 Subject: [PATCH] [transcode] Use proper const for avfilter_get_by_name() result --- src/transcode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transcode.c b/src/transcode.c index 0bbd8e09..b7eff42f 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -923,10 +923,10 @@ close_output(struct encode_ctx *ctx) static int open_filter(struct stream_ctx *out_stream, struct stream_ctx *in_stream) { - AVFilter *buffersrc; - AVFilter *format; - AVFilter *scale; - AVFilter *buffersink; + const AVFilter *buffersrc; + const AVFilter *format; + const AVFilter *scale; + const AVFilter *buffersink; AVFilterContext *buffersrc_ctx; AVFilterContext *format_ctx; AVFilterContext *scale_ctx;