"[" 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
This commit is contained in:
Vitor Sessak 2009-05-08 19:14:21 +00:00
parent 9a3eaeebad
commit b755a754d1

View File

@ -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 == '=') {