[Scummvm-cvs-logs] SF.net SVN: scummvm: [33032] residual/trunk/engine/imuse/imuse_mcmp_mgr.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Jul 13 14:26:16 CEST 2008


Revision: 33032
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33032&view=rev
Author:   aquadran
Date:     2008-07-13 05:26:15 -0700 (Sun, 13 Jul 2008)

Log Message:
-----------
ops

Modified Paths:
--------------
    residual/trunk/engine/imuse/imuse_mcmp_mgr.cpp

Modified: residual/trunk/engine/imuse/imuse_mcmp_mgr.cpp
===================================================================
--- residual/trunk/engine/imuse/imuse_mcmp_mgr.cpp	2008-07-13 12:25:05 UTC (rev 33031)
+++ residual/trunk/engine/imuse/imuse_mcmp_mgr.cpp	2008-07-13 12:26:15 UTC (rev 33032)
@@ -100,7 +100,7 @@
 	}
 	fseek(_file, sizeCodecs, SEEK_CUR);
 	// hack: one more byte at the end of input buffer
-	_compInput = new byte[maxSize + ];
+	_compInput = new byte[maxSize + 1];
 	fread(_compInput, 1, headerSize, _file);
 	*resPtr = _compInput;
 	offsetData = headerSize;


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