"[" 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
release/0.6
Vitor Sessak 16 years ago
parent 9a3eaeebad
commit b755a754d1
  1. 2
      libavfilter/graphparser.c

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

Loading…
Cancel
Save