diff options
-rw-r--r-- | Alc/mixer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 87d94fff..bce9b14f 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -242,6 +242,7 @@ ALvoid MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALuint Sam } BufferListItem = BufferListItem->next; } + assert(BufferListItem != NULL); IrSize = (Device->Hrtf ? GetHrtfIrSize(Device->Hrtf) : 0); |