[Scummvm-cvs-logs] SF.net SVN: scummvm:[54839] scummvm/trunk/graphics/video/codecs/smc.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Dec 9 14:36:23 CET 2010


Revision: 54839
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54839&view=rev
Author:   mthreepwood
Date:     2010-12-09 13:36:23 +0000 (Thu, 09 Dec 2010)

Log Message:
-----------
VIDEO: Fix a truncation in the SMC decoder (thanks, fuzzie)

Modified Paths:
--------------
    scummvm/trunk/graphics/video/codecs/smc.cpp

Modified: scummvm/trunk/graphics/video/codecs/smc.cpp
===================================================================
--- scummvm/trunk/graphics/video/codecs/smc.cpp	2010-12-09 11:55:30 UTC (rev 54838)
+++ scummvm/trunk/graphics/video/codecs/smc.cpp	2010-12-09 13:36:23 UTC (rev 54839)
@@ -67,7 +67,7 @@
 	uint32 prevBlockPtr = 0;
 	uint32 prevBlockPtr1 = 0, prevBlockPtr2 = 0;
 	byte prevBlockFlag = false;
-	byte pixel = 0;
+	uint32 pixel = 0;
 
 	uint32 colorPairIndex = 0;
 	uint32 colorQuadIndex = 0;


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