Commit 9a337b1f authored by vitor's avatar vitor

"[" is a terminating char for the filter name. This fixes the parsing of

things like

[in] vflip [out];


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18772 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2fa9e4f2
...@@ -120,7 +120,7 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph, ...@@ -120,7 +120,7 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
int index, AVClass *log_ctx) int index, AVClass *log_ctx)
{ {
char *opts = NULL; char *opts = NULL;
char *name = av_get_token(buf, "=,"); char *name = av_get_token(buf, "=,[");
AVFilterContext *ret; AVFilterContext *ret;
if(**buf == '=') { if(**buf == '=') {
......
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