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:
parent
5688950626
commit
d4bed7071c
1 changed files with 4 additions and 1 deletions
|
@ -525,7 +525,10 @@ impl Mp4Track {
|
|||
}
|
||||
}
|
||||
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 {
|
||||
let stts = &self.trak.mdia.minf.stbl.stts;
|
||||
|
||||
|
|
Loading…
Reference in a new issue