Thank You @piponazo for the code review. I've made the changes you requested.

This commit is contained in:
clanmills 2021-03-09 14:10:52 +00:00
parent 9d28943b63
commit e3fd0c633e
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ namespace Exiv2
// Add Base Media File Format to the supported image formats
namespace ImageType
{
const int bmff = 15; //!< BMFF (bmff) image type (see class BMFF)
const int bmff = 19; //!< BMFF (bmff) image type (see class BMFF)
}
/*!

View File

@ -42,7 +42,7 @@ namespace Exiv2
// Add JPEG-2000 to the supported image formats
namespace ImageType
{
const int jp2 = 19; //!< JPEG-2000 image type
const int jp2 = 15; //!< JPEG-2000 image type
}
/*!

View File

@ -172,7 +172,7 @@ namespace Exiv2
return result;
}
long BmffImage::boxHandler(std::ostream& out /* = std::cout*/ , Exiv2::PrintStructureOption option /* = kpsNone */,int depth /* =0 */)
long BmffImage::boxHandler(std::ostream& out, Exiv2::PrintStructureOption option,int depth)
{
long result = (long)io_->size();
long address = (long)io_->tell();