diff options
-rw-r--r-- | sound/rate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/rate.cpp b/sound/rate.cpp index f144b04db5..4721225643 100644 --- a/sound/rate.cpp +++ b/sound/rate.cpp @@ -169,7 +169,7 @@ resume: rate->opos = rate->opos + rate->opos_inc + (tmp >> FRAC_BITS); rate->opos_frac = tmp & ((1UL << FRAC_BITS) - 1); - if (obuf < oend) + if (obuf >= oend) goto the_end; } |