aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-21 20:24:49 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-21 20:24:49 +0200
commitea049ad862a4b2b398bbdade5af36291d786e02d (patch)
treeb05a5fb0d5bdbb0e03aaa349e947b876e88bb780 /libavfilter
parent535117d1f6deba266654b8a43cd5bd7630045fd3 (diff)
downloadffmpeg-ea049ad862a4b2b398bbdade5af36291d786e02d.tar.gz
lavfi/graphparser: Constify a variable.
Fixes the following warning: libavfilter/graphparser.c:122:10: warning: assignment discards 'const' qualifier from pointer target type
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 1405926bfd..d92b5360a6 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -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;