1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-25 10:51:49 +02:00

Move declaration a little.

Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-05-03 17:28:25 +00:00
parent 8f51f55564
commit 3df9ce75b5

View File

@ -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);
}