summaryrefslogtreecommitdiff
path: root/modules/stb_vorbis
diff options
context:
space:
mode:
authorMark Kuo <starryalley@gmail.com>2020-06-29 12:56:10 +1000
committerMark Kuo <starryalley@gmail.com>2020-06-29 13:01:54 +1000
commite435d57758017ae7e92b052dcdd64488934998c1 (patch)
tree81175eb5946b2738240d4466eb55e2b4bc18b355 /modules/stb_vorbis
parent481151be09108a30002ae0a9df118eeddd3987be (diff)
VideoPlayer: fix possible race condition
In set_stream() we write to 'playback' while accessing the same object in _mix_audio() in audio thread. Protect the 'write' part in set_stream() to avoid possible crash in _mix_audio() function.
Diffstat (limited to 'modules/stb_vorbis')
0 files changed, 0 insertions, 0 deletions