Mercurial > mplayer.hg
changeset 7587:7b532e4390c1
100l
author | arpi |
---|---|
date | Wed, 02 Oct 2002 22:13:14 +0000 |
parents | d12421dd1265 |
children | 8ee95f554262 |
files | libaf/af_resample.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_resample.c Wed Oct 02 16:56:54 2002 +0000 +++ b/libaf/af_resample.c Wed Oct 02 22:13:14 2002 +0000 @@ -145,7 +145,7 @@ uint32_t up = s->up; uint32_t dn = s->dn; - register uint32_t i = 0; + register int32_t i = 0; register uint32_t wi = 0; register uint32_t xi = 0; @@ -162,7 +162,7 @@ ADDQUE(xi,x,in); in+=nch; - if(!--i){ + if((--i)<=0){ // Run the FIR filter FIR((&x[xi]),(&s->w[wi*L]),out); len++; out+=nch;