Cosmetics: if(x != NULL) -> if(x)
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:40:03 +0000 (20:40 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:40:03 +0000 (20:40 +0000)
Commited in SoC by Vitor Sessak on 2008-04-12 14:11:19

Originally committed as revision 13311 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.c

index 3d002ab..dbfcc95 100644 (file)
@@ -307,8 +307,8 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
     } 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")) {