mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
21ed47ce13
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.)