Skip to content

Commit

Permalink
fixed "heif_writer callback returned a null error text"
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Oct 16, 2023
1 parent b1e77b6 commit 7e9f130
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pillow_heif/_pillow_heif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7e9f130

Please sign in to comment.