Closed jgraj closed 3 months ago
Return value of stb_vorbis_decode_memory is less than 0 for errors and we later malloc with that value, so 0 is still probably not good to have
stb_vorbis_decode_memory
Also there are kinc_affirm and assert calls used seemingly randomly so I didn't know which one to use
kinc_affirm
assert
kinc_affirm is active in release-builds, assert is not. Choose wisely.
Return value of
stb_vorbis_decode_memory
is less than 0 for errors and we later malloc with that value, so 0 is still probably not good to have