diff options
author | Matthew Hoops | 2010-12-09 13:36:23 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-09 13:36:23 +0000 |
commit | cf86141ca3b8072d3e18df9e22ac555f227c3836 (patch) | |
tree | f0b10ef32990d2f405dcdacd91440f7d2b4b8c66 /graphics | |
parent | bf044c02124e1c34141a7b20f1e8d6396d50cdbe (diff) | |
download | scummvm-rg350-cf86141ca3b8072d3e18df9e22ac555f227c3836.tar.gz scummvm-rg350-cf86141ca3b8072d3e18df9e22ac555f227c3836.tar.bz2 scummvm-rg350-cf86141ca3b8072d3e18df9e22ac555f227c3836.zip |
VIDEO: Fix a truncation in the SMC decoder (thanks, fuzzie)
svn-id: r54839
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/video/codecs/smc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/codecs/smc.cpp b/graphics/video/codecs/smc.cpp index 6e4914b6f0..425922435d 100644 --- a/graphics/video/codecs/smc.cpp +++ b/graphics/video/codecs/smc.cpp @@ -67,7 +67,7 @@ Graphics::Surface *SMCDecoder::decodeImage(Common::SeekableReadStream *stream) { uint32 prevBlockPtr = 0; uint32 prevBlockPtr1 = 0, prevBlockPtr2 = 0; byte prevBlockFlag = false; - byte pixel = 0; + uint32 pixel = 0; uint32 colorPairIndex = 0; uint32 colorQuadIndex = 0; |