Merge pull request #1919 from dimin/viqi
fix for reading jpeg-xr images
This commit is contained in:
commit
a5b6db171c
@ -2231,7 +2231,8 @@ namespace Exiv2 {
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
if (tag_ != getUShort(pData + 2, byteOrder_)) return false;
|
||||
uint16_t t = getUShort(pData + 2, byteOrder_);
|
||||
if (t != 444 && tag_ != t) return false; // 444 is for the JPEG-XR
|
||||
offset_ = getULong(pData + 4, byteOrder_);
|
||||
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user