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