[transcode] Use proper const for avfilter_get_by_name() result

This commit is contained in:
ejurgensen 2018-06-06 00:00:22 +02:00
parent 565f0b07bd
commit 3325b2d9ce

View File

@ -923,10 +923,10 @@ close_output(struct encode_ctx *ctx)
static int static int
open_filter(struct stream_ctx *out_stream, struct stream_ctx *in_stream) open_filter(struct stream_ctx *out_stream, struct stream_ctx *in_stream)
{ {
AVFilter *buffersrc; const AVFilter *buffersrc;
AVFilter *format; const AVFilter *format;
AVFilter *scale; const AVFilter *scale;
AVFilter *buffersink; const AVFilter *buffersink;
AVFilterContext *buffersrc_ctx; AVFilterContext *buffersrc_ctx;
AVFilterContext *format_ctx; AVFilterContext *format_ctx;
AVFilterContext *scale_ctx; AVFilterContext *scale_ctx;