aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/mp3.cpp
diff options
context:
space:
mode:
authorColin Snover2017-08-05 13:53:02 -0500
committerColin Snover2017-09-03 20:58:08 -0500
commitcc3088c5294ae9cc2e3eff995baa0fc70a61c704 (patch)
tree1772b83f9b4b47d36125913feb88b72afb1d14da /audio/decoders/mp3.cpp
parent439a026844d826761338aee31a2d0db177890e54 (diff)
downloadscummvm-rg350-cc3088c5294ae9cc2e3eff995baa0fc70a61c704.tar.gz
scummvm-rg350-cc3088c5294ae9cc2e3eff995baa0fc70a61c704.tar.bz2
scummvm-rg350-cc3088c5294ae9cc2e3eff995baa0fc70a61c704.zip
SCI32: Make audio resource size mismatch non-fatal
Lighthouse audio.225 in RESSCI.002 (US English 1.0C) triggers this condition; the audio resource says its data is one byte larger than the recorded size in the volume. In this case, just use the smaller of the two values for the size, to avoid overreads.
Diffstat (limited to 'audio/decoders/mp3.cpp')
0 files changed, 0 insertions, 0 deletions