Commit 42b3ebe
committed
Replace union with struct in audio_mixer_voice
audio_mixer_play_ogg calls stb_vorbis_close if types.ogg.stream is set
but it overlaps with wav.position and stb_vorbis_close ends up freeing
unallocated space and crashing
Space saving is minor, so let's just split the variants1 parent 716bb5e commit 42b3ebe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments