mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
undo this change again - proper fix would be to correct the MP3 playback code
svn-id: r8593
This commit is contained in:
parent
7c332d7fdb
commit
7281ac6907
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user