From 3bbe7f5d6b8215ed2dcce0c50e93137919f3d384 Mon Sep 17 00:00:00 2001 From: Roberto Togni Date: Mon, 29 May 2006 19:25:46 +0000 Subject: [PATCH] 10000l don't reuse outer loop index in inner loops Originally committed as revision 5423 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/qdm2.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 3645f43e2f..e9356edbad 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -1470,13 +1470,13 @@ static void qdm2_decode_fft_packets (QDM2Context *q) if (duration >= 0 && duration < 4) qdm2_fft_decode_tones(q, duration, &gb, unknown_flag); } else if (type == 31) { - for (i=0; i < 4; i++) - qdm2_fft_decode_tones(q, i, &gb, unknown_flag); + for (j=0; j < 4; j++) + qdm2_fft_decode_tones(q, j, &gb, unknown_flag); } else if (type == 46) { - for (i=0; i < 6; i++) - q->fft_level_exp[i] = get_bits(&gb, 6); - for (i=0; i < 4; i++) - qdm2_fft_decode_tones(q, i, &gb, unknown_flag); + for (j=0; j < 6; j++) + q->fft_level_exp[j] = get_bits(&gb, 6); + for (j=0; j < 4; j++) + qdm2_fft_decode_tones(q, j, &gb, unknown_flag); } } // Loop on B packets