1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
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
This commit is contained in:
Vitor Sessak 2008-05-24 20:41:54 +00:00
parent 98fb286b60
commit ba3fed2fc2

View File

@ -162,15 +162,12 @@ static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph, static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
int index, AVClass *log_ctx) int index, AVClass *log_ctx)
{ {
char *opts; char *opts = NULL;
char *name = consume_string(buf); char *name = consume_string(buf);
if(**buf == '=') { if(**buf == '=')
(*buf)++; (*buf)++;
opts = consume_string(buf); opts = consume_string(buf);
} else {
opts = NULL;
}
return create_filter(graph, index, name, opts, log_ctx); return create_filter(graph, index, name, opts, log_ctx);
} }