Commit ea049ad8 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavfi/graphparser: Constify a variable.

Fixes the following warning:
libavfilter/graphparser.c:122:10: warning: assignment discards 'const' qualifier from pointer target type
parent 535117d1
...@@ -96,7 +96,7 @@ static char *parse_link_name(const char **buf, void *log_ctx) ...@@ -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, static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int index,
const char *name, const char *args, void *log_ctx) const char *name, const char *args, void *log_ctx)
{ {
AVFilter *filt; const AVFilter *filt;
char name2[30]; char name2[30];
const char *inst_name = NULL, *filt_name = NULL; const char *inst_name = NULL, *filt_name = NULL;
char *tmp_args = NULL; char *tmp_args = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment