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

kostya subversion at mplayerhq.hu
Mon Aug 18 07:56:17 CEST 2008


Author: kostya
Date: Mon Aug 18 07:56:16 2008
New Revision: 3435

Log:
Simplify loop condition

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Mon Aug 18 07:56:16 2008
@@ -450,7 +450,7 @@ static void encode_window_bands_info(AAC
         if(cpe->ch[channel].zeroes[win*16 + swb])
             maxval = 0;
         else{
-            for(w = win; w < win + group_len; w++){
+            for(w = 0; w < group_len; w++){
                 for(i = start2; i < start2 + size; i++){
                     maxval = FFMAX(maxval, FFABS(cpe->ch[channel].icoefs[i]));
                 }



More information about the FFmpeg-soc mailing list