diff options
author | Chris Robinson <[email protected]> | 2018-04-17 22:50:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-04-17 22:50:50 -0700 |
commit | 150586d7fef722da17b96697ca0c1f78b2d10eb4 (patch) | |
tree | 03ad2bd434e6cfce4bfb2007ffc82ff1dc624639 /Alc/mixer/mixer_sse.c | |
parent | 09194fd4886d81ca28f88760e8ae4efad368227e (diff) |
Add an ASSUME macro that requires a true condition
Diffstat (limited to 'Alc/mixer/mixer_sse.c')
-rw-r--r-- | Alc/mixer/mixer_sse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse.c b/Alc/mixer/mixer_sse.c index c9615c25..5c181c75 100644 --- a/Alc/mixer/mixer_sse.c +++ b/Alc/mixer/mixer_sse.c @@ -24,6 +24,8 @@ const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *restr ALfloat pf; __m128 r4; + ASSUME(m > 0); + src += state->bsinc.l; for(i = 0;i < dstlen;i++) { |