aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-23 01:32:14 -0800
committerChris Robinson <[email protected]>2016-11-23 01:32:14 -0800
commit10473285bae659a3ae863df177564ef208d84b1d (patch)
tree54b9fd303046d985fe8230e9a71f1f72485fe783 /OpenAL32/alSource.c
parent6886f77cbc02b93db3682acb27eb767c6541fba0 (diff)
Fix an infinite loop
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 9ef58115..81cd44cd 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -133,6 +133,7 @@ static inline ALvoice *GetSourceVoice(const ALsource *source, const ALCcontext *
{
if(voice->Source == source)
return voice;
+ ++voice;
}
return NULL;
}