From 4ee26f4ca3dc952dc9d7fdf58b735396b798df9c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 21 Apr 2018 02:44:01 -0700 Subject: Add some more ASSUME statements --- Alc/mixer/mixer_neon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/mixer/mixer_neon.c') diff --git a/Alc/mixer/mixer_neon.c b/Alc/mixer/mixer_neon.c index 1413d1c1..1a5e8ee7 100644 --- a/Alc/mixer/mixer_neon.c +++ b/Alc/mixer/mixer_neon.c @@ -169,6 +169,7 @@ void Mix_Neon(const ALfloat *data, ALsizei OutChans, ALfloat (*restrict OutBuffe float32x4_t gain4; ALsizei c; + ASSUME(OutChans > 0); ASSUME(BufferSize > 0); data = ASSUME_ALIGNED(data, 16); OutBuffer = ASSUME_ALIGNED(OutBuffer, 16); @@ -242,6 +243,7 @@ void MixRow_Neon(ALfloat *OutBuffer, const ALfloat *Gains, const ALfloat (*restr float32x4_t gain4; ALsizei c; + ASSUME(InChans > 0); ASSUME(BufferSize > 0); data = ASSUME_ALIGNED(data, 16); OutBuffer = ASSUME_ALIGNED(OutBuffer, 16); -- cgit v1.2.3