From a59a773413e2f68a675b92c7d8cb0b2bbb1161be Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 May 2008 20:40:03 +0000 Subject: 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 --- libavfilter/graphparser.c | 4 ++-- 1 file 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")) { -- cgit v1.2.3