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

kostya subversion at mplayerhq.hu
Wed Jul 30 13:43:20 CEST 2008


Author: kostya
Date: Wed Jul 30 13:43:20 2008
New Revision: 2910

Log:
Do not try to merge coefficients from differently windowed MDCTs

Modified:
   aacenc/aacpsy.c

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c	(original)
+++ aacenc/aacpsy.c	Wed Jul 30 13:43:20 2008
@@ -498,7 +498,7 @@ static void psy_3gpp_process(AACPsyConte
     Psy3gppChannel *pch = &pctx->ch;
 
     //calculate and apply stereo attenuation factor - 5.2
-    if(apc->avctx->channels - channel > 1){
+    if(chans > 1 && cpe->common_window){
         float l, r;
         stereo_att = 1.0 / 2.0; //XXX: find some way to determine it
         for(i = 0; i < 1024; i++){



More information about the FFmpeg-soc mailing list