diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 20:06:36 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 20:06:36 +0000 |
commit | 3890a13173bc3c1d5812a53c0d75cd6c2ea3c808 (patch) | |
tree | a6f6dc22800e3ed1bb246b363210082405932470 /libavcodec/ra144.c | |
parent | d5d3536dcb94417335380bb7c3c8014c668f95be (diff) | |
download | ffmpeg-3890a13173bc3c1d5812a53c0d75cd6c2ea3c808.tar.gz |
Rename var
Originally committed as revision 13916 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 43a84615dd..bf1266904e 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -136,10 +136,10 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1, dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12; } -static void lpc_filter(const int16_t *lpc_coefs, uint16_t *statbuf, int len) +static void lpc_filter(const int16_t *lpc_coefs, uint16_t *in, int len) { int x, i; - int16_t *ptr = statbuf; + int16_t *ptr = in; for (i=0; i<len; i++) { int sum = 0; @@ -153,7 +153,7 @@ static void lpc_filter(const int16_t *lpc_coefs, uint16_t *statbuf, int len) new_val = ptr[10] - sum; if (new_val < -32768 || new_val > 32767) { - memset(statbuf, 0, 100); + memset(in, 0, 100); return; } |