Author: andoma
Date: Tue Apr 22 14:58:35 2008
New Revision: 2142

Log:
Pop variable declaration to function scope.



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c   (original)
+++ aac/aac.c   Tue Apr 22 14:58:35 2008
@@ -1205,14 +1205,13 @@ static int decode_gain_control_data(AACC
 
 static int decode_ms_data(AACContext * ac, GetBitContext * gb, cpe_struct * 
cpe) {
     ms_struct * ms = &cpe->ms;
+    int g, i;
     ms->present = get_bits(gb, 2);
     if (ms->present == 1) {
-        int g, i;
         for (g = 0; g < cpe->ch[0].ics.num_window_groups; g++)
             for (i = 0; i < cpe->ch[0].ics.max_sfb; i++)
                 ms->mask[g][i] = get_bits1(gb);// << i;
     } else if (ms->present == 2) {
-        int g, i;
         for (g = 0; g < cpe->ch[0].ics.num_window_groups; g++)
             memset(ms->mask[g], 1, cpe->ch[0].ics.max_sfb);
     }
_______________________________________________
FFmpeg-soc mailing list
FFmpeg-soc@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to