mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
08be916049
Verify that 'bits' really is one of 8, 12 or 16 before decoding the data. It's probably always the case (unless the data files are damaged) but if it isn't we'll either try to queue NULL to the audio stream, or queue the same buffer more than once, or free the buffer more than once. All of which are bad, though Coverity only noticed the last of these cases. |
||
---|---|---|
.. | ||
dimuse_bndmgr.cpp | ||
dimuse_bndmgr.h | ||
dimuse_codecs.cpp | ||
dimuse_codecs.h | ||
dimuse_music.cpp | ||
dimuse_script.cpp | ||
dimuse_sndmgr.cpp | ||
dimuse_sndmgr.h | ||
dimuse_tables.cpp | ||
dimuse_tables.h | ||
dimuse_track.cpp | ||
dimuse_track.h | ||
dimuse.cpp | ||
dimuse.h |