[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.26,1.27

Max Horn fingolfin at users.sourceforge.net
Sat Jun 21 15:05:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv5804

Modified Files:
	sound.cpp 
Log Message:
undo this change again - proper fix would be to correct the MP3 playback code

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- sound.cpp	21 Jun 2003 15:36:19 -0000	1.26
+++ sound.cpp	21 Jun 2003 22:04:20 -0000	1.27
@@ -219,7 +219,7 @@
 
 	uint32 size = _offsets[sound+1] - _offsets[sound];
 
-	byte *buffer = (byte *)malloc(size + 1);
+	byte *buffer = (byte *)malloc(size);
 	_file->read(buffer, size);
 
 	return _mixer->playMP3(handle, buffer, size, flags);





More information about the Scummvm-git-logs mailing list