aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 8a39ed348..1850a1711 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -567,7 +567,7 @@ Player::SeekDecoder()
if (where < 0.0)
where = 0.0;
- if (!dc.Seek(where + start_ms / 1000.0)) {
+ if (!dc.Seek(SongTime::FromS(where) + SongTime::FromMS(start_ms))) {
/* decoder failure */
player_command_finished(pc);
return false;