From 8ce513414ca7063a7cb324e2064c5cf9f99d14bb Mon Sep 17 00:00:00 2001 From: Stuart Woodbury Date: Fri, 14 Jul 2023 11:38:41 -0400 Subject: [PATCH] fix(moof): size returned by write_box --- src/mp4box/moof.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mp4box/moof.rs b/src/mp4box/moof.rs index 20c3565..1b1e932 100644 --- a/src/mp4box/moof.rs +++ b/src/mp4box/moof.rs @@ -102,6 +102,6 @@ impl WriteBox<&mut W> for MoofBox { for traf in self.trafs.iter() { traf.write_box(writer)?; } - Ok(0) + Ok(size) } }