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

kostya subversion at mplayerhq.hu
Sun Aug 17 11:47:22 CEST 2008


Author: kostya
Date: Sun Aug 17 11:47:22 2008
New Revision: 3397

Log:
Remove forgotten /512 in windowing code

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sun Aug 17 11:47:22 2008
@@ -307,7 +307,7 @@ static void apply_window_and_mdct(AVCode
             for(i = 448 + k; i < 448 + k + 256; i++)
                 s->output[i - 448 - k] = (i < 1024)
                                          ? cpe->ch[channel].saved[i]
-                                         : audio[channel + (i-1024)*avctx->channels] / 512.0;
+                                         : audio[channel + (i-1024)*avctx->channels];
             s->dsp.vector_fmul        (s->output,     k ?  swindow : pwindow, 128);
             s->dsp.vector_fmul_reverse(s->output+128, s->output+128, swindow, 128);
             ff_mdct_calc(&s->mdct128, cpe->ch[channel].coeffs + k, s->output);



More information about the FFmpeg-soc mailing list