diff options
author | Johannes Schickel | 2010-05-03 13:03:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-05-03 13:03:44 +0000 |
commit | f2ee496c0ead8812660385fe379bb005e0af0b3c (patch) | |
tree | 50c0b61f04f4278ab5e311e5d7a60cf24fefd2e6 /sound/mixer_intern.h | |
parent | df679afe19901500a5e704d2b11df5a7b25c5436 (diff) | |
download | scummvm-rg350-f2ee496c0ead8812660385fe379bb005e0af0b3c.tar.gz scummvm-rg350-f2ee496c0ead8812660385fe379bb005e0af0b3c.tar.bz2 scummvm-rg350-f2ee496c0ead8812660385fe379bb005e0af0b3c.zip |
Paranoia change: Prevent possible assertion caused by MP3Stream.
Currently we have an assert checking that the framerate of an
Audio::Timestamp is always > 0. Since MAD might return "0"
(and maybe even other illegal values) in case the MP3 stream is
invalid we need to check that before we setup the _length
Timestamp of MP3Stream.
svn-id: r48904
Diffstat (limited to 'sound/mixer_intern.h')
0 files changed, 0 insertions, 0 deletions