1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-06-11 09:29:21 +00:00

fix(moof): size returned by write_box

This commit is contained in:
Stuart Woodbury 2023-07-14 11:38:41 -04:00
parent cd86f1c4be
commit 8ce513414c

View file

@ -102,6 +102,6 @@ impl<W: Write> WriteBox<&mut W> for MoofBox {
for traf in self.trafs.iter() {
traf.write_box(writer)?;
}
Ok(0)
Ok(size)
}
}