From 69f12bde8ed7fd8bf4f00c49a7c06fb6f1395262 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Tue, 7 Sep 2021 19:37:33 -0700 Subject: [PATCH] cargo fmt --- examples/client/mp4.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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)