[FFmpeg-soc] [soc]: r3214 - aacenc/aacpsy.c

kostya subversion at mplayerhq.hu
Wed Aug 13 14:14:18 CEST 2008


Author: kostya
Date: Wed Aug 13 14:14:17 2008
New Revision: 3214

Log:
1024l: forgot to clean variable before loop start

Modified:
   aacenc/aacpsy.c

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c	(original)
+++ aacenc/aacpsy.c	Wed Aug 13 14:14:17 2008
@@ -392,6 +392,7 @@ static av_cold int psy_3gpp_init(AACPsyC
         pctx->s_low_l[g] = pow(10.0, -(pctx->bark_l[g+1] - pctx->bark_l[g]) * PSY_3GPP_SPREAD_LOW);
         pctx->s_hi_l [g] = pow(10.0, -(pctx->bark_l[g+1] - pctx->bark_l[g]) * PSY_3GPP_SPREAD_HI);
     }
+    i = 0;
     prev = 0.0;
     for(g = 0; g < apc->num_bands128; g++){
         i += apc->bands128[g];



More information about the FFmpeg-soc mailing list