diff options
author | Johannes Schickel | 2008-06-22 13:26:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-06-22 13:26:22 +0000 |
commit | d2ce91298958e3e2ca98577d27ca630e06314cb7 (patch) | |
tree | 5eba3ca347287552f1624cb664b2aa3d43e3ee55 | |
parent | 51000de1626090ac61ace8fa9bbfe233117219cc (diff) | |
download | scummvm-rg350-d2ce91298958e3e2ca98577d27ca630e06314cb7.tar.gz scummvm-rg350-d2ce91298958e3e2ca98577d27ca630e06314cb7.tar.bz2 scummvm-rg350-d2ce91298958e3e2ca98577d27ca630e06314cb7.zip |
Fixed getTotalPlayTime implementation for MP3InputStream.
svn-id: r32755
-rw-r--r-- | sound/mp3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mp3.cpp b/sound/mp3.cpp index eea725ce3a..70467bdb39 100644 --- a/sound/mp3.cpp +++ b/sound/mp3.cpp @@ -121,7 +121,7 @@ MP3InputStream::MP3InputStream(Common::SeekableReadStream *inStream, bool dispos 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); |