[Scummvm-cvs-logs] SF.net SVN: scummvm:[48032] scummvm/trunk/sound/decoders/mp3.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Feb 10 17:34:32 CET 2010
Revision: 48032
http://scummvm.svn.sourceforge.net/scummvm/?rev=48032&view=rev
Author: lordhoto
Date: 2010-02-10 16:34:32 +0000 (Wed, 10 Feb 2010)
Log Message:
-----------
Hopefully fixing bug #2948858 "MP3 (CD Audio) Broken under SVN".
Modified Paths:
--------------
scummvm/trunk/sound/decoders/mp3.cpp
Modified: scummvm/trunk/sound/decoders/mp3.cpp
===================================================================
--- scummvm/trunk/sound/decoders/mp3.cpp 2010-02-10 12:36:46 UTC (rev 48031)
+++ scummvm/trunk/sound/decoders/mp3.cpp 2010-02-10 16:34:32 UTC (rev 48032)
@@ -146,6 +146,8 @@
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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list