diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-13 15:28:06 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-23 19:32:08 +0100 |
commit | 015f9f1ad379745fe02ba219a83c406fdeaf37be (patch) | |
tree | 77e942562738c7278d3f40ebccaadc2740f8e317 /libavcodec/aacenc.c | |
parent | fb397b1a193f15b5c104fc14caf49ded50ccf354 (diff) | |
download | ffmpeg-streaming-015f9f1ad379745fe02ba219a83c406fdeaf37be.zip ffmpeg-streaming-015f9f1ad379745fe02ba219a83c406fdeaf37be.tar.gz |
Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 6eabb0d3ad42b91c1b4c298718c29961f7c1653a)
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index f8f0eb4..6a113ef 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -256,7 +256,7 @@ static void apply_window_and_mdct(AVCodecContext *avctx, AACEncContext *s, s->output[i - 448 - k] = (i < 1024) ? sce->saved[i] : audio[(i-1024)*chans]; - s->dsp.vector_fmul (s->output, k ? swindow : pwindow, 128); + s->dsp.vector_fmul (s->output, s->output, k ? swindow : pwindow, 128); s->dsp.vector_fmul_reverse(s->output+128, s->output+128, swindow, 128); ff_mdct_calc(&s->mdct128, sce->coeffs + k, s->output); } |