gpac / ComplianceWarden

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

False negative: `HandlerBox` (`hdlr`) `pre_defined` and `reserved` fields shall be zero #29

Closed baumanj closed 3 years ago

baumanj commented 3 years ago

Per ISOBMFF (ISO/IEC 14496-12:2020) § 8.4.3.2:

aligned(8) class HandlerBox extends FullBox('hdlr', version = 0, 0) {
    unsigned int(32) pre_defined = 0;
    unsigned int(32) handler_type;
    const unsigned int(32)[3] reserved = 0;
    utf8string name;
}

The SDL requires the pre_defined and reserved fields to be zero, but neither of these inputs generate any warnings or errors in ComplianceWarden.