X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=src%2Fdemuxers%2Fgdv.rs;h=b84bc9892dd4866fbb077b42af5ea3e7c2b0aa6c;hb=3b501dcbaabd5922d829b217a541e697e8ed1a59;hp=605593802abd5738bbdb83b38a3e9f6e39fc18a4;hpb=e24794ee1808504fd9d2083f5c725bdb8a19fd38;p=nihav.git diff --git a/src/demuxers/gdv.rs b/src/demuxers/gdv.rs index 6055938..b84bc98 100644 --- a/src/demuxers/gdv.rs +++ b/src/demuxers/gdv.rs @@ -12,7 +12,7 @@ enum GDVState { pub struct GremlinVideoDemuxer<'a> { opened: bool, src: &'a mut ByteReader<'a>, - streams: Vec>>, + streams: Vec>, frames: u16, cur_frame: u16, asize: usize, @@ -102,7 +102,7 @@ pktdta: Vec::new(), } } - fn find_stream(&mut self, id: u32) -> Rc> { + fn find_stream(&mut self, id: u32) -> Rc { for i in 0..self.streams.len() { if self.streams[i].get_id() == id { return self.streams[i].clone();