Fixes the following warning: libavfilter/graphparser.c:122:10: warning: assignment discards 'const' qualifier from pointer target type
Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all
Unified · Split
| @@ -96,7 +96,7 @@ static char *parse_link_name(const char **buf, void *log_ctx) · 95 unmodified lines | |||
| 96 | static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int index, | 96 | static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int index, |
| 97 | const char *name, const char *args, void *log_ctx) | 97 | const char *name, const char *args, void *log_ctx) |
| 98 | { | 98 | { |
| 99 | AVFilter *filt; | 99 | const AVFilter *filt; |
| 100 | char name2[30]; | 100 | char name2[30]; |
| 101 | const char *inst_name = NULL, *filt_name = NULL; | 101 | const char *inst_name = NULL, *filt_name = NULL; |
| 102 | char *tmp_args = NULL; | 102 | char *tmp_args = NULL; |