From 0a58acc7e2504c1e3f5b5ccdae1d70667d42d068 Mon Sep 17 00:00:00 2001
From: rtogni <rtogni@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date: Mon, 29 May 2006 19:25:46 +0000
Subject: [PATCH] 10000l don't reuse outer loop index in inner loops

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5423 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
---
 libavcodec/qdm2.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 3645f43e2..e9356edba 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
 
-- 
2.25.4