Commit d2668986 authored by Max Kellermann's avatar Max Kellermann

decoder/modplug: use integer seek times

parent 69b5929c
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment