Commit 586d4186 for libheif
commit 586d41860b2cbdaa7c4aaee35bfff7ed7feee570
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Thu Mar 5 19:32:35 2026 +0100
fix reading TIFF EXIF
diff --git a/heifio/decoder_tiff.cc b/heifio/decoder_tiff.cc
index 1aa23e57..63afaa54 100644
--- a/heifio/decoder_tiff.cc
+++ b/heifio/decoder_tiff.cc
@@ -76,7 +76,7 @@ static bool readTIFF(TIFF* tif, void* dest, size_t size) {
}
static bool readTIFFUint16(TIFF* tif, uint16_t* dest) {
- if (!readTIFF(tif, &dest, 2)) {
+ if (!readTIFF(tif, dest, 2)) {
return false;
}
@@ -87,7 +87,7 @@ static bool readTIFFUint16(TIFF* tif, uint16_t* dest) {
}
static bool readTIFFUint32(TIFF* tif, uint32_t* dest) {
- if (!readTIFF(tif, &dest, 4)) {
+ if (!readTIFF(tif, dest, 4)) {
return false;
}