]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavfilter/graphparser.c
Cosmetics: if(x != NULL) -> if(x)
[frescor/ffmpeg.git] / libavfilter / graphparser.c
index 3d002abd0e6c59f9497a316b62a0f5b9f5d00f7d..dbfcc952f170ae1813ee93f2d70a60c7046933ae 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")) {