Commit 960f2bc0 authored by vitor's avatar vitor

Simplify

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fc956df6
......@@ -162,15 +162,12 @@ static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
int index, AVClass *log_ctx)
{
char *opts;
char *opts = NULL;
char *name = consume_string(buf);
if(**buf == '=') {
if(**buf == '=')
(*buf)++;
opts = consume_string(buf);
} else {
opts = NULL;
}
return create_filter(graph, index, name, opts, log_ctx);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment