diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-06-19 19:34:38 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-06-19 19:34:38 +0000 |
commit | bba35fda77a2ae5560d8f6bd29532b48938592fa (patch) | |
tree | 23905982b476c3c9e007bdd914b3599a63755763 /libavcodec/ra144.c | |
parent | edc724b8b8d5cd41493cccf9bf8215a2f58b74e2 (diff) | |
download | ffmpeg-bba35fda77a2ae5560d8f6bd29532b48938592fa.tar.gz |
Rename var
Originally committed as revision 13821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r-- | libavcodec/ra144.c | 6 |
1 files changed, 3 insertions, 3 deletions
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<len; i++) { int sum = 0; int new_val; for(x=0; x<10; x++) - sum += i1[9-x] * ptr[x]; + sum += lpc_coefs[9-x] * ptr[x]; sum >>= 12; |