Commit b755a754 authored by Vitor Sessak's avatar Vitor Sessak

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

things like

[in] vflip [out];

Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9a3eaeeb
......@@ -120,7 +120,7 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
int index, AVClass *log_ctx)
{
char *opts = NULL;
char *name = av_get_token(buf, "=,");
char *name = av_get_token(buf, "=,[");
AVFilterContext *ret;
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