aboutsummaryrefslogtreecommitdiff
path: root/video/bink_decoder.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-02-18 20:12:35 +0100
committerTorbjörn Andersson2013-02-18 20:12:35 +0100
commit21ed47ce1366ee6b9b861391faeccc0eb2c5afb3 (patch)
treeebba52cedafb8477a74003351c8a641229919a19 /video/bink_decoder.cpp
parentf70905d979953fc52954ba5f7d8b4ae149179a56 (diff)
downloadscummvm-rg350-21ed47ce1366ee6b9b861391faeccc0eb2c5afb3.tar.gz
scummvm-rg350-21ed47ce1366ee6b9b861391faeccc0eb2c5afb3.tar.bz2
scummvm-rg350-21ed47ce1366ee6b9b861391faeccc0eb2c5afb3.zip
VIDEO: Fix Smacker crash, as per madmoose's suggestion
Apparently, in some movies the Smacker decoder would peek ahead past the end of the bitstream, even though it didn't necessarily use all of those bits later. Fix that by first checking how many bits are still available. (This was originally reported for the mg1shoot.smk cutscene in the 4 CD version of The Feeble Files.)
Diffstat (limited to 'video/bink_decoder.cpp')
0 files changed, 0 insertions, 0 deletions