mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
g723_1dec: avoid memcpy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d8c3170c9f
commit
a9040a1167
@ -1208,8 +1208,7 @@ static void comp_autocorr(int16_t *buf, int16_t *autocorr)
|
||||
int i, scale, temp;
|
||||
int16_t vector[LPC_FRAME];
|
||||
|
||||
memcpy(vector, buf, LPC_FRAME * sizeof(int16_t));
|
||||
scale_vector(vector, vector, LPC_FRAME);
|
||||
scale_vector(vector, buf, LPC_FRAME);
|
||||
|
||||
/* Apply the Hamming window */
|
||||
for (i = 0; i < LPC_FRAME; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user