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) } }