13 lines
548 B
Diff
13 lines
548 B
Diff
diff -Nur a/Source/Metadata/XTIFF.cpp b/Source/Metadata/XTIFF.cpp
|
|
--- a/Source/Metadata/XTIFF.cpp 2023-02-13 11:08:06.161477974 +0800
|
|
+++ b/Source/Metadata/XTIFF.cpp 2023-02-13 11:15:35.831996396 +0800
|
|
@@ -749,7 +749,7 @@
|
|
continue;
|
|
}
|
|
// type of storage may differ (e.g. rationnal array vs float array type)
|
|
- if((unsigned)_TIFFDataSize(tif_tag_type) != FreeImage_TagDataWidth(tag_type)) {
|
|
+ if((unsigned)TIFFFieldSetGetSize(fld) != FreeImage_TagDataWidth(tag_type)) {
|
|
// skip tag or _TIFFmemcpy will fail
|
|
continue;
|
|
}
|