undo this change again - proper fix would be to correct the MP3 playback code

svn-id: r8593
This commit is contained in:
Max Horn 2003-06-21 22:04:20 +00:00
parent 7c332d7fdb
commit 7281ac6907

View File

@ -219,7 +219,7 @@ int MP3Sound::playSound(uint sound, PlayingSoundHandle *handle, byte flags)
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);