[SCM] libav/experimental: "[" is a terminating char for the filter name. This fixes the parsing of things like

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:45:26 UTC 2013


The following commit has been merged in the experimental branch:
commit b755a754d144cf166ab5ab62260f8b351d969187
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Fri May 8 19:14:21 2009 +0000

    "[" 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

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 9e4cd43..592934c 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 == '=') {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list