[Scummvm-cvs-logs] SF.net SVN: scummvm: [32755] scummvm/trunk/sound/mp3.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Jun 22 15:26:23 CEST 2008
Revision: 32755
http://scummvm.svn.sourceforge.net/scummvm/?rev=32755&view=rev
Author: lordhoto
Date: 2008-06-22 06:26:22 -0700 (Sun, 22 Jun 2008)
Log Message:
-----------
Fixed getTotalPlayTime implementation for MP3InputStream.
Modified Paths:
--------------
scummvm/trunk/sound/mp3.cpp
Modified: scummvm/trunk/sound/mp3.cpp
===================================================================
--- scummvm/trunk/sound/mp3.cpp 2008-06-22 12:43:32 UTC (rev 32754)
+++ scummvm/trunk/sound/mp3.cpp 2008-06-22 13:26:22 UTC (rev 32755)
@@ -121,7 +121,7 @@
mad_timer_add(&length, start);
mad_timer_negate(&length);
- if (mad_timer_sign(end) == 0) {
+ if (mad_timer_sign(end) != 0) {
mad_timer_add(&length, end);
} else {
mad_stream_init(&_stream);
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