| Summary: | [Cocoa] Some AVIF images can't be rendered because their containers formats are HEIF | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Images | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | oliver, sabouhallawa, tetsuharu.ohzeki, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=241904 https://bugs.webkit.org/show_bug.cgi?id=245097 |
||
|
Description
Myles C. Maxfield
2022-08-18 14:26:27 PDT
Looks like this is a bug in a system framework. Tracking in <rdar://problem/98850829> *** Bug 244324 has been marked as a duplicate of this bug. *** I think we can fix it (for now) by looking at the ftyp box of the HEIF/AVIF files and check the major_brand and the compatible_brands in this box.
HEIF/AVIF files start with an ftyp box
aligned(8) class GeneralTypeBox(code) extends Box(code) {
unsigned int(32) major_brand;
unsigned int(32) minor_version;
unsigned int(32) compatible_brands[]; // to end of the box
}
Pull request: https://github.com/WebKit/WebKit/pull/4434 Committed 254591@main (08227904ddb6): <https://commits.webkit.org/254591@main> Reviewed commits have been landed. Closing PR #4434 and removing active labels. *** Bug 245097 has been marked as a duplicate of this bug. *** |