mirror of https://git.ffmpeg.org/ffmpeg.git
aac: Remove some suspicious illegal memcpy()s from LTP.
This commit is contained in:
parent
e11a5fccb2
commit
a6c49f18ab
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue