1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-12-22 12:06:33 +00:00

Fix formatting of track.rs

This commit is contained in:
Jensenn 2024-02-20 15:14:40 -07:00
parent 5688950626
commit d4bed7071c

View file

@ -525,7 +525,10 @@ impl Mp4Track {
} }
} }
let start_offset = ((sample_id - 1) * default_sample_duration) as u64; let start_offset = ((sample_id - 1) * default_sample_duration) as u64;
Ok((base_start_time.wrapping_add(start_offset), default_sample_duration)) Ok((
base_start_time.wrapping_add(start_offset),
default_sample_duration,
))
} else { } else {
let stts = &self.trak.mdia.minf.stbl.stts; let stts = &self.trak.mdia.minf.stbl.stts;