forked from pool/libavif
25 lines
882 B
Diff
25 lines
882 B
Diff
|
From 8e79701b2d2b8cd872d23b7c9e5e746b61cab65e Mon Sep 17 00:00:00 2001
|
||
|
From: Xi Ruoyao <xry111@xry111.site>
|
||
|
Date: Tue, 29 Aug 2023 13:08:33 +0800
|
||
|
Subject: [PATCH] gdk-pixbuf: Fix build failure after imir.mode -> imir.axis
|
||
|
rename
|
||
|
|
||
|
Fixes #1526.
|
||
|
---
|
||
|
contrib/gdk-pixbuf/loader.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/contrib/gdk-pixbuf/loader.c b/contrib/gdk-pixbuf/loader.c
|
||
|
index 47e25a13b..868b054fb 100644
|
||
|
--- a/contrib/gdk-pixbuf/loader.c
|
||
|
+++ b/contrib/gdk-pixbuf/loader.c
|
||
|
@@ -209,7 +209,7 @@ static gboolean avif_context_try_load(struct avif_context * context, GError ** e
|
||
|
if (image->transformFlags & AVIF_TRANSFORM_IMIR) {
|
||
|
GdkPixbuf *output_mirrored = NULL;
|
||
|
|
||
|
- switch (image->imir.mode) {
|
||
|
+ switch (image->imir.axis) {
|
||
|
case 0:
|
||
|
output_mirrored = gdk_pixbuf_flip(output, FALSE);
|
||
|
break;
|