cargo fmt

This commit is contained in:
Scott Lamb 2021-09-07 19:37:33 -07:00
parent 96023c5a98
commit 69f12bde8e

View File

@ -524,8 +524,7 @@ impl<W: AsyncWrite + AsyncSeek + Send + Unpin> Mp4Writer<W> {
self.video_params = Some(p); self.video_params = Some(p);
} }
let size = u32::try_from(frame.data().remaining())?; let size = u32::try_from(frame.data().remaining())?;
self.video_trak self.video_trak.add_sample(
.add_sample(
self.mdat_pos, self.mdat_pos,
size, size,
frame.timestamp, frame.timestamp,