diff options
author | Torbjörn Andersson | 2008-01-15 20:06:41 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-01-15 20:06:41 +0000 |
commit | 173988960be7bb4a73a6911b2f4474b85387145c (patch) | |
tree | 10eb6b95cf4eaf259117352c56442afab03e91f7 /engines/scumm/smush | |
parent | 75099c6c207b0751aa2857f5ac901896e18a99a0 (diff) | |
download | scummvm-rg350-173988960be7bb4a73a6911b2f4474b85387145c.tar.gz scummvm-rg350-173988960be7bb4a73a6911b2f4474b85387145c.tar.bz2 scummvm-rg350-173988960be7bb4a73a6911b2f4474b85387145c.zip |
Initialise _lastTableWidth. (Fixes Valgrind warning.)
svn-id: r30497
Diffstat (limited to 'engines/scumm/smush')
-rw-r--r-- | engines/scumm/smush/codec47.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/smush/codec47.cpp b/engines/scumm/smush/codec47.cpp index d4ff77b1f9..8dd8b0cffe 100644 --- a/engines/scumm/smush/codec47.cpp +++ b/engines/scumm/smush/codec47.cpp @@ -526,6 +526,7 @@ void Codec47Decoder::decode2(byte *dst, const byte *src, int width, int height, #endif Codec47Decoder::Codec47Decoder(int width, int height) { + _lastTableWidth = -1; _width = width; _height = height; _tableBig = (byte *)malloc(256 * 388); |