Author: kostya
Date: Wed Sep 17 19:00:46 2008
New Revision: 3747

Log:
26.403l of cola: accumulator should be cleared before calculation

Modified:
   aacenc/aacpsy.c

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c     (original)
+++ aacenc/aacpsy.c     Wed Sep 17 19:00:46 2008
@@ -270,6 +270,7 @@ static void psy_3gpp_analyze(FFPsyContex
     for(w = 0; w < wi->num_windows*16; w += 16){
         for(g = 0; g < num_bands; g++){
             Psy3gppBand *band = &pch->band[w+g];
+            band->energy = 0.0f;
             for(i = 0; i < band_sizes[g]; i++)
                 band->energy += coefs[start+i] * coefs[start+i];
             band->energy *= 1.0f / (512*512);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to