History

Simplify Commited in SoC by Vitor Sessak on 2008-05-24 13:05:30

Originally committed as revision 13347 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit ba3fed21 parent 98fb2861 file · +2 −5Browse files

Unified · Split

libavfilter/graphparser.c+2−5
@@ -162,15 +162,12 @@ static AVFilterContext *create_filter(AVFilterGraph *ctx, int index, · 161 unmodified lines
162162 static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
163163 int index, AVClass *log_ctx)
164164 {
165− char *opts;
165+ char *opts = NULL;
166166 char *name = consume_string(buf);
167167
168− if(**buf == '=') {
168+ if(**buf == '=')
169169 (*buf)++;
170170 opts = consume_string(buf);
171− } else {
172− opts = NULL;
173− }
174171
175172 return create_filter(graph, index, name, opts, log_ctx);
176173 }

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