From d4bed7071c993bae11fc1519452d968f56e2d811 Mon Sep 17 00:00:00 2001 From: Jensenn Date: Tue, 20 Feb 2024 15:14:40 -0700 Subject: [PATCH] Fix formatting of track.rs --- src/track.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/track.rs b/src/track.rs index 122c46a..910f50c 100644 --- a/src/track.rs +++ b/src/track.rs @@ -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;