From b755a754d144cf166ab5ab62260f8b351d969187 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 8 May 2009 19:14:21 +0000 Subject: "[" 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 --- libavfilter/graphparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 9e4cd4373d..592934c6ff 100644 --- a/libavfilter/graphparser.c +++ b/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 == '=') { -- cgit v1.2.3