summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:40:03 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:40:03 +0000
commita59a773413e2f68a675b92c7d8cb0b2bbb1161be (patch)
tree5173cec12af23109a65add49a461539894920b0b /libavfilter
parent8095a014a064979616afc80330df3b595a56dd41 (diff)
Cosmetics: if(x != NULL) -> if(x)
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
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 3d002abd0e..dbfcc952f1 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -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")) {