Author: vitor
Date: Sat May 24 15:05:30 2008
New Revision: 2193

Log:
Simplify

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c   (original)
+++ libavfilter/graphparser.c   Sat May 24 15:05:30 2008
@@ -162,15 +162,12 @@ static AVFilterContext *create_filter(AV
 static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
                                      int index, AVClass *log_ctx)
 {
-    char *opts;
+    char *opts = NULL;
     char *name = consume_string(buf);
 
-    if(**buf == '=') {
+    if(**buf == '=')
         (*buf)++;
         opts = consume_string(buf);
-    } else {
-        opts = NULL;
-    }
 
     return create_filter(graph, index, name, opts, log_ctx);
 }
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to