diff options
author | Chris Robinson <[email protected]> | 2014-12-17 10:57:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-17 10:57:35 -0800 |
commit | 6086c344dcc0b8ec067a89193f900540dacec263 (patch) | |
tree | ee388d2264852e2cdbccfdf919d1eb45b13bcbb0 /Alc/mixer.c | |
parent | 4b91d34d5835f17b56d45d3fe1dfe65da1d43240 (diff) |
Assert that there's a buffer for mixing
For Clang's static analysis.
Diffstat (limited to 'Alc/mixer.c')
-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); |