[FFmpeg-cvslog] lavfi/graphparser: Constify a variable.
Carl Eugen Hoyos
git at videolan.org
Sat Oct 21 21:25:42 EEST 2017
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sat Oct 21 20:24:49 2017 +0200| [ea049ad862a4b2b398bbdade5af36291d786e02d] | committer: 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
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea049ad862a4b2b398bbdade5af36291d786e02d
---
libavfilter/graphparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list