mirror of
https://github.com/alfg/mp4-rust.git
synced 2025-01-03 00:48:40 +00:00
bugfix: fix size when parsing largesize box header (#49)
This commit is contained in:
parent
75599fe561
commit
0d2d2547d1
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ impl BoxHeader {
|
|||
|
||||
Ok(BoxHeader {
|
||||
name: BoxType::from(typ),
|
||||
size: largesize,
|
||||
size: largesize - HEADER_SIZE,
|
||||
})
|
||||
} else {
|
||||
Ok(BoxHeader {
|
||||
|
|
Loading…
Reference in a new issue