aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-03 17:28:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-03 17:28:25 +0000
commit3df9ce75b5f333dd760fd43feeba7daa5ae23d56 (patch)
treebf2d398c8c74d5a286ced0869e192cf89597bfcf
parent8f51f55564249dce1a5a2b1594066c719e7c5f73 (diff)
downloadffmpeg-3df9ce75b5f333dd760fd43feeba7daa5ae23d56.tar.gz
Move declaration a little.
Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/nellymoserdec.c4
1 files 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);
}