lavfi/graphparser: Constify a variable.

Fixes the following warning:
libavfilter/graphparser.c:122:10: warning: assignment discards 'const' qualifier from pointer target type
This commit is contained in:
Carl Eugen Hoyos 2017-10-21 20:24:49 +02:00
parent 535117d1f6
commit ea049ad862

View File

@ -96,7 +96,7 @@ static char *parse_link_name(const char **buf, void *log_ctx)
static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int index,
const char *name, const char *args, void *log_ctx)
{
AVFilter *filt;
const AVFilter *filt;
char name2[30];
const char *inst_name = NULL, *filt_name = NULL;
char *tmp_args = NULL;