diff options
Diffstat (limited to 'libaf/af.c')
-rw-r--r-- | libaf/af.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/af.c b/libaf/af.c index 35e2a925a5..9313dffd27 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -370,7 +370,7 @@ af_data_t* af_play(af_stream_t* s, af_data_t* data) needed */ inline int af_lencalc(frac_t mul, af_data_t* d){ register int t = d->bps*d->nch; - return t*(((d->len/t)*mul.n + 1)/mul.d); + return t*(((d->len/t)*mul.n)/mul.d + 1); } /* Calculate how long the output from the filters will be given the |