mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Fixed getTotalPlayTime implementation for MP3InputStream.
svn-id: r32755
This commit is contained in:
parent
51000de162
commit
d2ce912989
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user