summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-05-08 19:14:21 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-05-08 19:14:21 +0000
commitb755a754d144cf166ab5ab62260f8b351d969187 (patch)
tree20e823e7d5c354186a091368e4389ec1770b20a9
parent9a3eaeebad8bd0b62d76680d5895a4bdeb228ae4 (diff)
"[" 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
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
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 == '=') {