[Ffmpeg-cvslog] r5423 - trunk/libavcodec/qdm2.c
rtogni
subversion
Mon May 29 21:25:46 CEST 2006
Author: rtogni
Date: Mon May 29 21:25:46 2006
New Revision: 5423
Modified:
trunk/libavcodec/qdm2.c
Log:
10000l don't reuse outer loop index in inner loops
Modified: trunk/libavcodec/qdm2.c
==============================================================================
--- trunk/libavcodec/qdm2.c (original)
+++ trunk/libavcodec/qdm2.c Mon May 29 21:25:46 2006
@@ -1470,13 +1470,13 @@
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
More information about the ffmpeg-cvslog
mailing list