[Scummvm-cvs-logs] SF.net SVN: scummvm:[51717] scummvm/trunk/engines/sci/video/seq_decoder.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Wed Aug 4 02:33:55 CEST 2010
Revision: 51717
http://scummvm.svn.sourceforge.net/scummvm/?rev=51717&view=rev
Author: mthreepwood
Date: 2010-08-04 00:33:54 +0000 (Wed, 04 Aug 2010)
Log Message:
-----------
SCI: Silence valgrind warning (thanks to syke for pointing out)
Modified Paths:
--------------
scummvm/trunk/engines/sci/video/seq_decoder.cpp
Modified: scummvm/trunk/engines/sci/video/seq_decoder.cpp
===================================================================
--- scummvm/trunk/engines/sci/video/seq_decoder.cpp 2010-08-03 22:08:32 UTC (rev 51716)
+++ scummvm/trunk/engines/sci/video/seq_decoder.cpp 2010-08-04 00:33:54 UTC (rev 51717)
@@ -76,6 +76,7 @@
uint16 palColorCount = READ_LE_UINT16(paletteData + 29);
int palOffset = 37;
+ memset(_palette, 0, 256 * 3);
for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) {
if (palFormat == kSeqPalVariable)
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