We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36698d2 commit 89b277eCopy full SHA for 89b277e
ext/gd/libgd/gd_avif.c
@@ -343,7 +343,7 @@ gdImagePtr gdImageCreateFromAvifCtx (gdIOCtx *ctx)
343
decoder = avifDecoderCreate();
344
345
// Check if libavif version is >= 0.9.1
346
-#if AVIF_VERSION_MAJOR > 0 || (AVIF_VERSION_MAJOR == 0 && AVIF_VERSION_MINOR > 9) || (AVIF_VERSION_MAJOR == 0 && AVIF_VERSION_MINOR == 9 && AVIF_VERSION_PATCH >= 1)
+#if AVIF_VERSION >= 90100
347
// If so, allow the PixelInformationProperty ('pixi') to be missing in AV1 image
348
// items. libheif v1.11.0 or older does not add the 'pixi' item property to
349
// AV1 image items. (This issue has been corrected in libheif v1.12.0.)
0 commit comments