diff --git a/examples/client/mp4.rs b/examples/client/mp4.rs index 4e7d0bd..c13fbdb 100644 --- a/examples/client/mp4.rs +++ b/examples/client/mp4.rs @@ -524,14 +524,13 @@ impl Mp4Writer { self.video_params = Some(p); } let size = u32::try_from(frame.data().remaining())?; - self.video_trak - .add_sample( - self.mdat_pos, - size, - frame.timestamp, - frame.loss, - self.allow_loss, - )?; + self.video_trak.add_sample( + self.mdat_pos, + size, + frame.timestamp, + frame.loss, + self.allow_loss, + )?; self.mdat_pos = self .mdat_pos .checked_add(size)