1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-05-19 16:58:04 +00:00

bugfix: fix size when parsing largesize box header (#49)

This commit is contained in:
Alfred Gutierrez 2021-01-31 11:47:28 -08:00 committed by GitHub
parent 75599fe561
commit 0d2d2547d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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