From 8f51f55564249dce1a5a2b1594066c719e7c5f73 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 3 May 2008 17:26:13 +0000 Subject: [PATCH] Setting i to 0 once should do. Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index a1b5d32d9..3ef9caccc 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -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; -- 2.11.0