diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:42:24 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:42:24 +0000 |
commit | 90ed076ce341c32989f720af53f109ee58df9fb7 (patch) | |
tree | 8af3adc30193832b3843912e3ad7a753fbcd444b /libavfilter | |
parent | c185fc5d7249e5a50b73adca7fdca8f38e542e55 (diff) | |
download | ffmpeg-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.c | 3 |
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; |