diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index c679a6dbed..6d4c95b397 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -137,7 +137,7 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1, } -static void final(const int16_t *i1, const int16_t *i2, +static void final(const int16_t *lpc_coefs, const int16_t *adapt_coef, void *out, int *statbuf, int len) { int x, i; @@ -145,14 +145,14 @@ static void final(const int16_t *i1, const int16_t *i2, int16_t *ptr = work; memcpy(work, statbuf,20); - memcpy(work + 10, i2, len * 2); + memcpy(work + 10, adapt_coef, len * 2); for (i=0; i>= 12;