Skip to content

Commit

Permalink
Fix formatting of track.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jensenn committed Feb 20, 2024
1 parent 5688950 commit d4bed70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/track.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d4bed70

Please sign in to comment.