diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/ModplugDecoderPlugin.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/decoder/plugins/ModplugDecoderPlugin.cxx b/src/decoder/plugins/ModplugDecoderPlugin.cxx index 110955367..8c56f34c1 100644 --- a/src/decoder/plugins/ModplugDecoderPlugin.cxx +++ b/src/decoder/plugins/ModplugDecoderPlugin.cxx @@ -166,10 +166,7 @@ mod_decode(Decoder &decoder, InputStream &is) 0); if (cmd == DecoderCommand::SEEK) { - float where = decoder_seek_where(decoder); - - ModPlug_Seek(f, (int)(where * 1000.0)); - + ModPlug_Seek(f, decoder_seek_where_ms(decoder)); decoder_command_finished(decoder); } |