From 90ed076ce341c32989f720af53f109ee58df9fb7 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 May 2008 20:42:24 +0000 Subject: [PATCH] Merge variable initialization and declaration Commited in SoC by Vitor Sessak on 2008-05-24 17:01:01 Originally committed as revision 13356 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/graphparser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index bdcf3673bb..3883ae94d1 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -207,9 +207,8 @@ static int link_filter_inouts(AVFilterContext *filter, AVFilterInOut **currInputs, AVFilterInOut **openLinks, AVClass *log_ctx) { - int pad = 0; + int pad = filter->input_count; - pad = filter->input_count; while(pad--) { AVFilterInOut *p = *currInputs; *currInputs = (*currInputs)->next;