mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 17:45:39 +00:00
my version of MAD (0.14.2b) has no MAD_ERROR_NONE; where did that come from?
svn-id: r4191
This commit is contained in:
parent
88a407fc1f
commit
4e76591ba6
@ -448,7 +448,7 @@ void SoundMixer::Channel_MP3_CDMUSIC::mix(int16 *data, uint len) {
|
||||
memcpy(_ptr, _stream.next_frame, not_decoded);
|
||||
_size = fread((unsigned char *)_ptr + not_decoded, 1, _buffer_size - not_decoded, _file);
|
||||
}
|
||||
_stream.error = MAD_ERROR_NONE;
|
||||
_stream.error = (enum mad_error)0;
|
||||
// Restream
|
||||
mad_stream_buffer(&_stream, (unsigned char *)_ptr, _size + not_decoded);
|
||||
if (mad_frame_decode(&_frame, &_stream) == -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user