Mercurial > libavcodec.hg
changeset 7102:590736aa6d52 libavcodec
Rename var
author | vitor |
---|---|
date | Mon, 23 Jun 2008 20:06:36 +0000 |
parents | 6ee204e8d9ae |
children | 3e9c18e58216 |
files | ra144.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ra144.c Mon Jun 23 20:05:42 2008 +0000 +++ b/ra144.c Mon Jun 23 20:06:36 2008 +0000 @@ -136,10 +136,10 @@ 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 @@ new_val = ptr[10] - sum; if (new_val < -32768 || new_val > 32767) { - memset(statbuf, 0, 100); + memset(in, 0, 100); return; }