From 60db12ee9e424edb1116aa5dfb72ccff3ef4b0e7 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Sun, 13 Mar 2016 15:23:56 +0000 Subject: [PATCH] Add missing semicolon. Somehow syntex allows this, so it was missed in the previous commit. --- src/player.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.rs b/src/player.rs index 889e0b0b..82e6e825 100644 --- a/src/player.rs +++ b/src/player.rs @@ -217,7 +217,7 @@ impl PlayerInternal { AudioDecrypt::new(key, self.session.audio_file(file_id)), 0xa7)).unwrap()); - vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap() + vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap(); self.update(|state| { state.status = if play { @@ -234,7 +234,7 @@ impl PlayerInternal { println!("Load Done"); } Some(PlayerCommand::Seek(position)) => { - vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap() + vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap(); self.update(|state| { state.position_ms = vorbis_time_tell_ms(decoder.as_mut().unwrap()).unwrap() as u32; state.position_measured_at = util::now_ms();