gpac / mp4box.js

JavaScript version of GPAC's MP4Box tool
https://gpac.github.io/mp4box.js/
BSD 3-Clause "New" or "Revised" License
1.94k stars 326 forks source link

`ItemLocationBox` (`iloc`) `base_offset` field is incorrect #258

Open baumanj opened 2 years ago

baumanj commented 2 years ago

When loading clusterfuzz-testcase-minimized-avif-4914209301856256.avif.zip), the base_offset is reported as 18446744073709486000, but the 8 bytes starting at offset 118 are FFFF FFFF FFFF 000B which is 18446744073709486091 in base 10.

See ISOBMFF (ISO 14496-12:2020) § 8.11.3 for the details of the iloc box.

Screen Shot 2021-12-03 at 4 05 04 PM