Commit cb0526e
committed
Add variable strictness for spec compliance and improve checks
- A missing `mif1` is now allowed in normal parsing mode and only an error in
strict parsing mode
test: public_avif_no_mif1
Resolves #236
- Fail in strict parsing mode if properties which must be marked essential are
not marked as such
test: public_avif_ipma_missing_essential
Resolves #284
- A hdlr box specifying 'pict' type as the first box in the meta box is required
unless parsing in permissive mode
tests:
- public_avif_hdlr_first_in_meta
- public_avif_hdlr_is_pict
Resolves #286
- All displayable images are required to have an associated 'pixi' property
test: public_avif_pixi_present_for_displayable_images
Resolves #287
- Some ipma box checks are now only errors in strict parsing mode
tests:
- public_avif_ipma_bad_version
- public_avif_ipma_bad_flags
- public_avif_ipma_duplicate_version_and_flags
Resolves #2881 parent 1ab3020 commit cb0526e
22 files changed
Lines changed: 460 additions & 86 deletions
File tree
- mp4parse_capi
- examples
- fuzz/fuzz_targets
- src
- mp4parse
- benches
- src
- tests
- corrupt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments