Add a test exercizing the parsing of boxes of sizes 0 (till the end
of the file) and 1 (stored as 64b largesize after box type).
tests/avif/valid-64b-box-size-0-box-size.asm is tests/avif/valid.asm
with the following changes:
"meta" size is 0x1 and its largesize is the size of the box
"iloc" base_offset is updated (+8 bytes)
"mdat" size is 0x0
Note: without the fix, cw outputs the following when "mdat" size is 0:
[miaf][Rule #7] Error: Item bodies of coded image "av01" itemID=1 (offset=277) belongs to box "root": expecting "mdat"
[isobmff][Rule #1] Error: Data offset 277 belongs to box "root": expecting "mdat" or "idat"
Add a test exercizing the parsing of boxes of sizes 0 (till the end of the file) and 1 (stored as 64b largesize after box type). tests/avif/valid-64b-box-size-0-box-size.asm is tests/avif/valid.asm with the following changes:
Note: without the fix, cw outputs the following when "mdat" size is 0: