]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/graphparser.c
vf_codecview: added new options
[ffmpeg] / libavfilter / graphparser.c
index ce5be1b937d3682bb9c15afc36586a616756c286..04b4272e0585d8a29e1f1f993b478f8aff01d346 100644 (file)
@@ -165,12 +165,12 @@ static int parse_filter(AVFilterContext **filt_ctx, const char **buf, AVFilterGr
                         int index, void *log_ctx)
 {
     char *opts = NULL;
-    char *name = av_get_token(buf, "=,;[\n");
+    char *name = av_get_token(buf, "=,;[");
     int ret;
 
     if (**buf == '=') {
         (*buf)++;
-        opts = av_get_token(buf, "[],;\n");
+        opts = av_get_token(buf, "[],;");
     }
 
     ret = create_filter(filt_ctx, graph, index, name, opts, log_ctx);