Make WordPress Core


Ignore:
Timestamp:
04/26/2024 03:00:03 PM (19 months ago)
Author:
adamsilverstein
Message:

Media: fix potential error in class-avif-info.php::get_item_features().

Import upstream fix from libavifinfo, correcting a potential fatal error.

Props yguyon.
Fixes #60980.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/image/editor.php

    r57524 r58049  
    449449            ),
    450450            array(
     451                DIR_TESTDATA . '/images/avif-alpha-grid2x1.avif',
     452                array(
     453                    'width'        => 199,
     454                    'height'       => 200,
     455                    'bit_depth'    => 8,
     456                    'num_channels' => 4,
     457                ),
     458            ),
     459            array(
    451460                DIR_TESTDATA . '/images/colors_hdr_p3.avif',
    452461                array(
Note: See TracChangeset for help on using the changeset viewer.