diff options
author | Johannes Schickel | 2010-02-10 16:34:32 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-02-10 16:34:32 +0000 |
commit | 2ddfdd960c4a4664b684ac1925ea4b62a8aceace (patch) | |
tree | 114a383b7bde2f4a38f99626d139ed6bef52acec | |
parent | 005cdeb8308e46fcc8e59abc9bae4c578aacbdd2 (diff) | |
download | scummvm-rg350-2ddfdd960c4a4664b684ac1925ea4b62a8aceace.tar.gz scummvm-rg350-2ddfdd960c4a4664b684ac1925ea4b62a8aceace.tar.bz2 scummvm-rg350-2ddfdd960c4a4664b684ac1925ea4b62a8aceace.zip |
Hopefully fixing bug #2948858 "MP3 (CD Audio) Broken under SVN".
svn-id: r48032
-rw-r--r-- | sound/decoders/mp3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/decoders/mp3.cpp b/sound/decoders/mp3.cpp index 2178cc86ac..90642368a5 100644 --- a/sound/decoders/mp3.cpp +++ b/sound/decoders/mp3.cpp @@ -146,6 +146,8 @@ void MP3Stream::decodeMP3Data() { readMP3Data(); while (_state == MP3_STATE_READY) { + _stream.error = MAD_ERROR_NONE; + // Decode the next frame if (mad_frame_decode(&_frame, &_stream) == -1) { if (_stream.error == MAD_ERROR_BUFLEN) { |