diff options
-rw-r--r-- | Alc/mastering.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mastering.c b/Alc/mastering.c index 637cd8d2..e1bc4ae7 100644 --- a/Alc/mastering.c +++ b/Alc/mastering.c @@ -127,11 +127,11 @@ static void ShiftSlidingHold(SlidingHold *Hold, const ALsizei n) if(lowerIndex < i) { - for(;i != BUFFERSIZE;i++) + for(;i < BUFFERSIZE;i++) expiries[i] -= n; i = 0; } - for(;i != lowerIndex;i++) + for(;i < lowerIndex;i++) expiries[i] -= n; expiries[i] -= n; |