diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-05-08 19:14:21 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-05-08 19:14:21 +0000 |
commit | b755a754d144cf166ab5ab62260f8b351d969187 (patch) | |
tree | 20e823e7d5c354186a091368e4389ec1770b20a9 /libavfilter/graphparser.c | |
parent | 9a3eaeebad8bd0b62d76680d5895a4bdeb228ae4 (diff) | |
download | ffmpeg-b755a754d144cf166ab5ab62260f8b351d969187.tar.gz |
"[" 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
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r-- | libavfilter/graphparser.c | 2 |
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 == '=') { |