[FFmpeg-soc] [soc]: r2124 - libavfilter/graphparser.c

vitor subversion at mplayerhq.hu
Sat Apr 12 16:11:19 CEST 2008


Author: vitor
Date: Sat Apr 12 16:11:19 2008
New Revision: 2124

Log:
Cosmetics: if(x != NULL) -> if(x)

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Sat Apr 12 16:11:19 2008
@@ -307,8 +307,8 @@ int avfilter_parse_graph(AVFilterGraph *
     } while (chr == ',' || chr == ';');
 
     head = inout;
-    for (; inout != NULL; inout = inout->next) {
-        if(inout->filter == NULL)
+    for (; inout; inout = inout->next) {
+        if(!inout->filter)
             continue; // Already processed
 
         if(!strcmp(inout->name, "in")) {



More information about the FFmpeg-soc mailing list