[webkit-changes] [WebKit/WebKit] 345ed1: [AVIF Downlevels] Allow pixi property to be missin...

Said Abou-Hallawa noreply at github.com
Sun Mar 3 11:52:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 345ed1bf70a2508e18652a003f3ec26a1e272016
      https://github.com/WebKit/WebKit/commit/345ed1bf70a2508e18652a003f3ec26a1e272016
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M Source/WebCore/platform/image-decoders/avif/AVIFImageReader.cpp

  Log Message:
  -----------
  [AVIF Downlevels] Allow pixi property to be missing in AVIF images
https://bugs.webkit.org/show_bug.cgi?id=270180
rdar://116808395

Reviewed by Cameron McCormack.

If an image is missing the pixi property, decoding its frames will fail because
we enable AVIF_STRICT_PIXI_REQUIRED when avifDecoder is created. So we need to
remove this restriction to be compatible with newer OSs and other browsers.

* Source/WebCore/platform/image-decoders/avif/AVIFImageReader.cpp:
(WebCore::AVIFImageReader::AVIFImageReader):

Canonical link: https://commits.webkit.org/275608@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list