mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7588 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d65409434c
commit
3f05bdd0e0
@ -145,7 +145,7 @@ static int downsample(af_data_t* c,af_data_t* l, af_resample_t* s)
|
||||
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 @@ static int downsample(af_data_t* c,af_data_t* l, af_resample_t* s)
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user