Browse Source

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
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
ba3fed2fc2
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      libavfilter/graphparser.c

+ 2
- 5
libavfilter/graphparser.c View File

@@ -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);
}


Loading…
Cancel
Save