[FFmpeg-cvslog] r13347 - trunk/libavfilter/graphparser.c

vitor subversion
Sat May 24 22:41:55 CEST 2008


Author: vitor
Date: Sat May 24 22:41:54 2008
New Revision: 13347

Log:
Simplify
Commited in SoC by Vitor Sessak on 2008-05-24 13:05:30


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:41:54 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);
 }




More information about the ffmpeg-cvslog mailing list