Merge pull request #1512 from Exiv2/fix_1507_avif_size0x0

fix_1507_avif_size0x0
This commit is contained in:
Robin Mills
2021-04-02 21:11:19 +01:00
committed by GitHub
+2 -2
View File
@@ -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)