[FFmpeg-soc] [soc]: r3575 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Sun Aug 24 09:50:39 CEST 2008


Author: kostya
Date: Sun Aug 24 09:50:39 2008
New Revision: 3575

Log:
Move maxval declaration into loop

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sun Aug 24 09:50:39 2008
@@ -445,7 +445,6 @@ static void encode_window_bands_info(AAC
 {
     BandCodingPath path[64];
     int band_bits[64][12];
-    int maxval;
     int w, swb, cb, start, start2, size;
     int i, j;
     const int max_sfb = sce->ics.max_sfb;
@@ -456,7 +455,7 @@ static void encode_window_bands_info(AAC
 
     start = win*128;
     for(swb = 0; swb < max_sfb; swb++){
-        maxval = 0;
+        int maxval = 0;
         start2 = start;
         size = sce->ics.swb_sizes[swb];
         if(sce->zeroes[win*16 + swb])



More information about the FFmpeg-soc mailing list