diff options
author | Roberto Togni <r_togni@tiscali.it> | 2006-05-29 19:25:46 +0000 |
---|---|---|
committer | Roberto Togni <r_togni@tiscali.it> | 2006-05-29 19:25:46 +0000 |
commit | 3bbe7f5d6b8215ed2dcce0c50e93137919f3d384 (patch) | |
tree | 577593b6a6014f5da91daa7c4c951c965054fe49 /libavcodec/qdm2.c | |
parent | 2fefd23b9618f219a77e94160deb38062f0b9b3d (diff) | |
download | ffmpeg-3bbe7f5d6b8215ed2dcce0c50e93137919f3d384.tar.gz |
10000l don't reuse outer loop index in inner loops
Originally committed as revision 5423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 12 |
1 files 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 |