[Scummvm-cvs-logs] SF.net SVN: scummvm: [26389] scummvm/trunk/sound/mp3.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Apr 6 15:28:34 CEST 2007
Revision: 26389
http://scummvm.svn.sourceforge.net/scummvm/?rev=26389&view=rev
Author: fingolfin
Date: 2007-04-06 06:28:33 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Fixed looping of MP3 tracks (same problem as with the FLAC tracks)
Modified Paths:
--------------
scummvm/trunk/sound/mp3.cpp
Modified: scummvm/trunk/sound/mp3.cpp
===================================================================
--- scummvm/trunk/sound/mp3.cpp 2007-04-06 13:16:53 UTC (rev 26388)
+++ scummvm/trunk/sound/mp3.cpp 2007-04-06 13:28:33 UTC (rev 26389)
@@ -150,7 +150,6 @@
if (!readMP3Data()) {
// We tried to read more data but failed -> end of stream reached
_eos = true;
- break;
}
}
@@ -214,7 +213,7 @@
rewind();
}
- } while (_stream.error == MAD_ERROR_BUFLEN);
+ } while (!_eos && _stream.error == MAD_ERROR_BUFLEN);
if (_stream.error != MAD_ERROR_NONE)
_eos = true;
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