From 453b01522511b6caadad909e9fee6975ea3477cd Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 5 Aug 2008 20:51:30 -0700 Subject: Prevent a 0 or negative increment for the buffer position Thanks to Christopher Fitzgerald for pointing these last two problems out --- Alc/ALu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index 309035dd..2c5cde40 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -709,6 +709,8 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma increment = (ALint)(Pitch*(ALfloat)(1L< (MAX_PITCH<