Commit a9040a11 authored by Michael Niedermayer's avatar Michael Niedermayer

g723_1dec: avoid memcpy

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d8c3170c
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment