From 7e9f1306165ca2f19e0df4e7c829ffa43e8a5e69 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Tue, 17 Oct 2023 00:24:18 +0300 Subject: [PATCH] fixed "heif_writer callback returned a null error text" Signed-off-by: Alexander Piskun --- CHANGELOG.md | 6 ++++++ pillow_heif/_pillow_heif.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09b42c9a..f56cfc86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ All notable changes to this project will be documented in this file. +## [0.14.0 - 2023-11-xx] + +### Fixed + +- Support of libheif `1.17.0`. #156 + ## [0.13.1 - 2023-10-15] ### Added diff --git a/pillow_heif/_pillow_heif.c b/pillow_heif/_pillow_heif.c index d64a85fa..7682e939 100644 --- a/pillow_heif/_pillow_heif.c +++ b/pillow_heif/_pillow_heif.c @@ -8,7 +8,7 @@ #define RETURN_NONE Py_INCREF(Py_None); return Py_None; -static struct heif_error heif_error_no = { .code = 0, .subcode = 0, .message = NULL }; +static struct heif_error heif_error_no = { .code = 0, .subcode = 0, .message = "" }; int check_error(struct heif_error error) { if (error.code == heif_error_Ok) {