Commit 3df9ce75 authored by Michael Niedermayer's avatar Michael Niedermayer

Move declaration a little.

Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8f51f555
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment