diff --git a/src/player.rs b/src/player.rs index 781c3b4c..48becb9b 100644 --- a/src/player.rs +++ b/src/player.rs @@ -19,7 +19,7 @@ fn vorbis_time_seek_ms(decoder: &mut vorbis::Decoder, ms: i64) -> Result<( #[cfg(not(feature = "with-tremor"))] fn vorbis_time_tell_ms(decoder: &mut vorbis::Decoder) -> Result where R: Read + Seek { - decoder.time_tell().map(|t| (t / 1000f64) as i64) + decoder.time_tell().map(|t| (t * 1000f64) as i64) } #[cfg(feature = "with-tremor")]