History

lavfi/graphparser: Constify a variable.

Fixes the following warning: libavfilter/graphparser.c:122:10: warning: assignment discards 'const' qualifier from pointer target type

Carl Eugen Hoyos committed 9 years ago

Commit ea049ad1 parent 535117d1 file · +1 −1Browse files

Unified · Split

libavfilter/graphparser.c+1−1
@@ -96,7 +96,7 @@ static char *parse_link_name(const char **buf, void *log_ctx) · 95 unmodified lines
9696 static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int index,
9797 const char *name, const char *args, void *log_ctx)
9898 {
99− AVFilter *filt;
99+ const AVFilter *filt;
100100 char name2[30];
101101 const char *inst_name = NULL, *filt_name = NULL;
102102 char *tmp_args = NULL;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t