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

Setting i to 0 once should do.

Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-05-03 17:26:13 +00:00
parent 20c9c8eec8
commit 8f51f55564

View File

@ -131,7 +131,7 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
static int sum_bits(short *buf, short shift, short off)
{
int b, i = 0, ret = 0;
int b, i, ret = 0;
for (i = 0; i < NELLY_FILL_LEN; i++) {
b = buf[i]-off;