aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-commonfmt/src/demuxers/avi.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-07-09 10:42:42 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-07-09 10:42:42 +0200
commit24d998947d55228ec37a08cd391983c6239e3c0c (patch)
treec7c392e66ea95f35f558de9edd5a3ff8bfaede01 /nihav-commonfmt/src/demuxers/avi.rs
parentdcabdfd2eea01174f46548a8e2166ab88d0de96b (diff)
downloadnihav-24d998947d55228ec37a08cd391983c6239e3c0c.tar.gz
use NATimePoint for seeking
Diffstat (limited to 'nihav-commonfmt/src/demuxers/avi.rs')
-rw-r--r--nihav-commonfmt/src/demuxers/avi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-commonfmt/src/demuxers/avi.rs b/nihav-commonfmt/src/demuxers/avi.rs
index 43d154a..05a0d64 100644
--- a/nihav-commonfmt/src/demuxers/avi.rs
+++ b/nihav-commonfmt/src/demuxers/avi.rs
@@ -135,7 +135,7 @@ impl<'a> DemuxCore<'a> for AVIDemuxer<'a> {
}
}
- fn seek(&mut self, time: u64, seek_index: &SeekIndex) -> DemuxerResult<()> {
+ fn seek(&mut self, time: NATimePoint, seek_index: &SeekIndex) -> DemuxerResult<()> {
let ret = seek_index.find_pos(time);
if ret.is_none() {
return Err(DemuxerError::SeekError);