[Scummvm-cvs-logs] SF.net SVN: scummvm:[35627] scummvm/trunk/sound/shorten.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Dec 31 14:00:10 CET 2008


Revision: 35627
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35627&view=rev
Author:   thebluegr
Date:     2008-12-31 13:00:09 +0000 (Wed, 31 Dec 2008)

Log Message:
-----------
Commented out part of the code that corrupts the heap for me

Modified Paths:
--------------
    scummvm/trunk/sound/shorten.cpp

Modified: scummvm/trunk/sound/shorten.cpp
===================================================================
--- scummvm/trunk/sound/shorten.cpp	2008-12-31 11:46:21 UTC (rev 35626)
+++ scummvm/trunk/sound/shorten.cpp	2008-12-31 13:00:09 UTC (rev 35627)
@@ -393,8 +393,9 @@
 
 
 				// Do the wrap
-				for (i = -wrap; i < 0; i++)
-					buffer[curChannel][i] = buffer[curChannel][i + blockSize];
+				// FIXME: removed for now, as this corrupts the heap
+				//for (int32 k = -wrap; k < 0; k++)
+				//	buffer[curChannel][k] = buffer[curChannel][k + blockSize];
 
 				// Fix bitshift
 				if (bitShift > 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