Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-21 21:24:49 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-21 21:24:49 +0300
commitea049ad862a4b2b398bbdade5af36291d786e02d (patch)
treeb05a5fb0d5bdbb0e03aaa349e947b876e88bb780 /libavfilter/graphparser.c
parent535117d1f6deba266654b8a43cd5bd7630045fd3 (diff)
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/graphparser.c')
-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;