aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer/mixer_sse41.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer/mixer_sse41.c')
-rw-r--r--Alc/mixer/mixer_sse41.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse41.c b/Alc/mixer/mixer_sse41.c
index 85fd0f5e..98a3ef74 100644
--- a/Alc/mixer/mixer_sse41.c
+++ b/Alc/mixer/mixer_sse41.c
@@ -41,6 +41,8 @@ const ALfloat *Resample_lerp_SSE41(const InterpState* UNUSED(state),
ALint pos;
ALsizei i;
+ ASSUME(numsamples > 0);
+
InitiatePositionArrays(frac, increment, frac_.i, pos_.i, 4);
frac4 = _mm_castps_si128(_mm_load_ps(frac_.f));