From 3df9ce75b5f333dd760fd43feeba7daa5ae23d56 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 3 May 2008 17:28:25 +0000 Subject: [PATCH] Move declaration a little. Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 3ef9caccc7..7e8c365262 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -131,10 +131,10 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float * static int sum_bits(short *buf, short shift, short off) { - int b, i, ret = 0; + int i, ret = 0; for (i = 0; i < NELLY_FILL_LEN; i++) { - b = buf[i]-off; + int b = buf[i]-off; b = ((b>>(shift-1))+1)>>1; ret += av_clip(b, 0, NELLY_BIT_CAP); }