[Scummvm-cvs-logs] SF.net SVN: scummvm: [30497] scummvm/trunk/engines/scumm/smush/codec47.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Jan 15 21:06:41 CET 2008


Revision: 30497
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30497&view=rev
Author:   eriktorbjorn
Date:     2008-01-15 12:06:41 -0800 (Tue, 15 Jan 2008)

Log Message:
-----------
Initialise _lastTableWidth. (Fixes Valgrind warning.)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/smush/codec47.cpp

Modified: scummvm/trunk/engines/scumm/smush/codec47.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/codec47.cpp	2008-01-15 19:44:38 UTC (rev 30496)
+++ scummvm/trunk/engines/scumm/smush/codec47.cpp	2008-01-15 20:06:41 UTC (rev 30497)
@@ -526,6 +526,7 @@
 #endif
 
 Codec47Decoder::Codec47Decoder(int width, int height) {
+	_lastTableWidth = -1;
 	_width = width;
 	_height = height;
 	_tableBig = (byte *)malloc(256 * 388);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list