diff --git a/src/mp4.rs b/src/mp4.rs index 34b53a0..2d73d8b 100644 --- a/src/mp4.rs +++ b/src/mp4.rs @@ -1418,12 +1418,10 @@ impl FileInner { fn get_co64(&self, r: Range, l: u64) -> Result { let mut v = Vec::with_capacity(l as usize); let mut pos = self.initial_sample_byte_pos; - debug!("co64, initial pos={}", pos); for s in &self.segments { v.write_u64::(pos)?; let r = s.s.sample_file_range(); pos += r.end - r.start; - debug!("co64, pos={} after adding r={:?}", pos, r); } Ok(ARefs::new(v).map(|v| &v[r.start as usize .. r.end as usize])) }