summaryrefslogtreecommitdiffstats
path: root/b506f7716c8e43e13707a394cc088e4d9d4c4098.patch
diff options
context:
space:
mode:
Diffstat (limited to 'b506f7716c8e43e13707a394cc088e4d9d4c4098.patch')
-rw-r--r--b506f7716c8e43e13707a394cc088e4d9d4c4098.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/b506f7716c8e43e13707a394cc088e4d9d4c4098.patch b/b506f7716c8e43e13707a394cc088e4d9d4c4098.patch
deleted file mode 100644
index b85bcdd..0000000
--- a/b506f7716c8e43e13707a394cc088e4d9d4c4098.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From b506f7716c8e43e13707a394cc088e4d9d4c4098 Mon Sep 17 00:00:00 2001
-From: Dirk Lemstra <dirk@lemstra.org>
-Date: Fri, 16 Oct 2020 11:05:28 +0200
-Subject: [PATCH] Added version check for
- heif_image_handle_get_luma_bits_per_pixel.
-
----
- coders/heic.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/coders/heic.c b/coders/heic.c
-index d8ca048e8..3ba368b15 100644
---- a/coders/heic.c
-+++ b/coders/heic.c
-@@ -303,10 +303,13 @@ static Image *ReadHEICImage(const ImageInfo *image_info,
- /*
- Set image size.
- */
-- image->depth=8;
- image->columns=(size_t) heif_image_handle_get_width(image_handle);
- image->rows=(size_t) heif_image_handle_get_height(image_handle);
-+#if LIBHEIF_NUMERIC_VERSION > 0x01040000
- image->depth=(size_t) heif_image_handle_get_luma_bits_per_pixel(image_handle);
-+#else
-+ image->depth=8;
-+#endif
- preserve_orientation=IsStringTrue(GetImageOption(image_info,
- "heic:preserve-orientation"));
- if (preserve_orientation == MagickFalse)