aboutsummaryrefslogtreecommitdiff
path: root/common/stack.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-05-03 13:03:44 +0000
committerJohannes Schickel2010-05-03 13:03:44 +0000
commitf2ee496c0ead8812660385fe379bb005e0af0b3c (patch)
tree50c0b61f04f4278ab5e311e5d7a60cf24fefd2e6 /common/stack.h
parentdf679afe19901500a5e704d2b11df5a7b25c5436 (diff)
downloadscummvm-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 'common/stack.h')
0 files changed, 0 insertions, 0 deletions