aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/sound.h
diff options
context:
space:
mode:
authorColin Snover2017-11-19 20:44:40 -0600
committerColin Snover2017-11-19 20:53:02 -0600
commite42ade073cc1f013eae739dc37464630f1104813 (patch)
tree77a4b6a8831a9e016b79abce506dff9ad71efe20 /engines/mads/sound.h
parent9fc24e19f234ba53fb450223137a8041932ecd51 (diff)
downloadscummvm-rg350-e42ade073cc1f013eae739dc37464630f1104813.tar.gz
scummvm-rg350-e42ade073cc1f013eae739dc37464630f1104813.tar.bz2
scummvm-rg350-e42ade073cc1f013eae739dc37464630f1104813.zip
AUDIO: Fix uninitialized data structures in PacketizedMP3Stream
If the audio thread called to readBuffer before any packet had been added to the stream, the state of the stream would be changed from INIT to EOS. Later, when a packet was received, the state would go directly from EOS to READY, skipping decoder init, leaving garbage memory in the decoder structs and causing a crash of the decoder. Fixes Trac#9653.
Diffstat (limited to 'engines/mads/sound.h')
0 files changed, 0 insertions, 0 deletions