unbreak installed header

This commit is contained in:
sthen
2026-05-22 00:11:37 +00:00
parent a1b4ae3c90
commit 68285f62c4
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
COMMENT= HEIF and AVIF file format decoder and encoder
V= 1.22.0
REVISION= 0
DISTNAME= libheif-$V
SHARED_LIBS += heif 3.1
@@ -0,0 +1,17 @@
From ef124f9988e57a06ad6d102c236d2bb4b82aef5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= <stefantalpalaru@yahoo.com>
Date: Wed, 20 May 2026 00:37:24 +0200
Subject: [PATCH] heif_properties.h: fix "bad_pixels" type
Index: libheif/api/libheif/heif_properties.h
--- libheif/api/libheif/heif_properties.h.orig
+++ libheif/api/libheif/heif_properties.h
@@ -335,7 +335,7 @@ heif_error heif_image_add_sensor_bad_pixels_map(heif_i
uint32_t num_bad_columns,
const uint32_t* bad_columns,
uint32_t num_bad_pixels,
- const heif_bad_pixel* bad_pixels);
+ const struct heif_bad_pixel* bad_pixels);
// Returns the number of sensor bad pixels maps on this image (0 if none).
LIBHEIF_API