mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
tiffdec: use toff_t for exif ifd offset
versions < 4.0.0 used uint32 interchangeably, but with 4.0.0 toff_t became 64-bit and TIFFTAG_EXIFIFD began returning it rather than TIFF_LONG/uint32. Change-Id: I42492bd24613a884c7496e7bfc0c5d892758bce9
This commit is contained in:
parent
7c8111e4a8
commit
36c52c2cf1
@ -34,7 +34,7 @@ static const struct {
|
||||
// all cases.
|
||||
static int ExtractMetadataFromTIFF(TIFF* const tif, Metadata* const metadata) {
|
||||
int i;
|
||||
uint32 exif_ifd_offset;
|
||||
toff_t exif_ifd_offset;
|
||||
|
||||
for (i = 0; kTIFFMetadataMap[i].tag != 0; ++i) {
|
||||
MetadataPayload* const payload =
|
||||
|
Loading…
Reference in New Issue
Block a user