[FFmpeg-cvslog] aac: Remove some suspicious illegal memcpy()s from LTP.
Alex Converse
git at videolan.org
Sat Oct 1 22:47:28 CEST 2011
ffmpeg | branch: release/0.8 | Alex Converse <alex.converse at gmail.com> | Fri Jul 29 15:49:11 2011 -0700| [96a453eb85a2d565681842a07ab759a52f1353fd] | committer: Reinhard Tartler
aac: Remove some suspicious illegal memcpy()s from LTP.
(cherry picked from commit a6c49f18abacb9bf52d4d808a2a56561a5b5445c)
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96a453eb85a2d565681842a07ab759a52f1353fd
---
libavcodec/aacdec.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 69aacb8..f94b109 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -1753,12 +1753,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));
}
More information about the ffmpeg-cvslog
mailing list