aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-game/src/demuxers/vmd.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:24:49 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:24:49 +0100
commitcaf0f37ecea1e6e25f21fc6e824ac250fe976541 (patch)
treef2c3be96f734f11f22263784b4077ee8ef3e08ad /nihav-game/src/demuxers/vmd.rs
parent47f26235350744ebf034ff18467e449a249f7703 (diff)
downloadnihav-caf0f37ecea1e6e25f21fc6e824ac250fe976541.tar.gz
fix demuxer tests after introducing seek index
Diffstat (limited to 'nihav-game/src/demuxers/vmd.rs')
-rw-r--r--nihav-game/src/demuxers/vmd.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/nihav-game/src/demuxers/vmd.rs b/nihav-game/src/demuxers/vmd.rs
index 0c47f89..d095972 100644
--- a/nihav-game/src/demuxers/vmd.rs
+++ b/nihav-game/src/demuxers/vmd.rs
@@ -189,7 +189,8 @@ mod test {
let mut br = ByteReader::new(&mut fr);
let mut dmx = VMDDemuxer::new(&mut br);
let mut sm = StreamManager::new();
- dmx.open(&mut sm).unwrap();
+ let mut si = SeekIndex::new();
+ dmx.open(&mut sm, &mut si).unwrap();
loop {
let pktres = dmx.get_frame(&mut sm);
if let Err(e) = pktres {