gpac / ComplianceWarden

A pluggable compliance checker (ISOBMFF, HEIF/MIAF/AVIF, AV1 HDR10+)
https://gpac.github.io/ComplianceWarden-wasm/
Other
16 stars 7 forks source link

AVIF/MIAF validator should reject files that set PrimaryItem to a nonexistent item #20

Closed tdaede closed 3 years ago

tdaede commented 3 years ago

The following item sets the Primary Item ID to 3, however it contains only one Item. It should be rejected. tiger_3layer_1res.zip

rbouqueau commented 3 years ago

I confirm. The rule for Section 6.2 checks it is a coded image but if it is missing then no error is raised.

rbouqueau commented 3 years ago

Fixed. Thanks for reporting!