aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/modplug_plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decoder/modplug_plugin.c b/src/decoder/modplug_plugin.c
index 4c3302383..3a886471a 100644
--- a/src/decoder/modplug_plugin.c
+++ b/src/decoder/modplug_plugin.c
@@ -130,10 +130,8 @@ mod_decode(struct decoder *decoder, struct input_stream *is)
1.0 / ((audio_format.bits * audio_format.channels / 8.0) *
(float)audio_format.sample_rate);
- total_time = ModPlug_GetLength(f) / 1000;
-
decoder_initialized(decoder, &audio_format,
- is->seekable, total_time);
+ is->seekable, ModPlug_GetLength(f) / 1000.0);
total_time = 0;