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

bugfix: fix size when parsing largesize box header

This commit is contained in:
Alf 2021-01-30 22:58:07 -08:00
parent 75599fe561
commit b757d90627

View file

@ -225,7 +225,7 @@ impl BoxHeader {
Ok(BoxHeader {
name: BoxType::from(typ),
size: largesize,
size: largesize - HEADER_SIZE,
})
} else {
Ok(BoxHeader {