aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:24 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:24 +0000
commit90ed076ce341c32989f720af53f109ee58df9fb7 (patch)
tree8af3adc30193832b3843912e3ad7a753fbcd444b /libavfilter
parentc185fc5d7249e5a50b73adca7fdca8f38e542e55 (diff)
downloadffmpeg-90ed076ce341c32989f720af53f109ee58df9fb7.tar.gz
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
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c3
1 files changed, 1 insertions, 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;