Merge pull request #1512 from Exiv2/fix_1507_avif_size0x0
fix_1507_avif_size0x0
This commit is contained in:
+2
-2
@@ -162,7 +162,7 @@ namespace Exiv2
|
||||
if (imageWidth != exifData_.end() && imageWidth->count() > 0) {
|
||||
return imageWidth->toLong();
|
||||
}
|
||||
return 0;
|
||||
return pixelWidth_;
|
||||
}
|
||||
|
||||
int BmffImage::pixelHeight() const
|
||||
@@ -171,7 +171,7 @@ namespace Exiv2
|
||||
if (imageHeight != exifData_.end() && imageHeight->count() > 0) {
|
||||
return imageHeight->toLong();
|
||||
}
|
||||
return 0;
|
||||
return pixelHeight_;
|
||||
}
|
||||
|
||||
std::string BmffImage::uuidName(Exiv2::DataBuf& uuid)
|
||||
|
||||
Reference in New Issue
Block a user