Browse Source

g723_1dec: avoid memcpy

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
a9040a1167
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/g723_1.c

+ 1
- 2
libavcodec/g723_1.c View File

@@ -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…
Cancel
Save