diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-07-29 15:49:11 -0700 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-08-01 09:39:33 -0700 |
commit | a6c49f18abacb9bf52d4d808a2a56561a5b5445c (patch) | |
tree | 6f1392e88b013b0cf4285d4353c489a51be01700 /libavcodec/aacdec.c | |
parent | e11a5fccb237b54da884e19c3f09986b780bd618 (diff) | |
download | ffmpeg-a6c49f18abacb9bf52d4d808a2a56561a5b5445c.tar.gz |
aac: Remove some suspicious illegal memcpy()s from LTP.
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r-- | libavcodec/aacdec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 6bf14275f9..783bf99fba 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -1789,12 +1789,10 @@ static void windowing_and_mdct_ltp(AACContext *ac, float *out, } else { memset(in, 0, 448 * sizeof(float)); ac->dsp.vector_fmul(in + 448, in + 448, swindow_prev, 128); - memcpy(in + 576, in + 576, 448 * sizeof(float)); } if (ics->window_sequence[0] != LONG_START_SEQUENCE) { ac->dsp.vector_fmul_reverse(in + 1024, in + 1024, lwindow, 1024); } else { - memcpy(in + 1024, in + 1024, 448 * sizeof(float)); ac->dsp.vector_fmul_reverse(in + 1024 + 448, in + 1024 + 448, swindow, 128); memset(in + 1024 + 576, 0, 448 * sizeof(float)); } |