#1243 Added XMP and IPTC data to Reagan.jp2. Corrected printStructure() appropriately.

Will add jp2image::writeMetadata()/iccProfile tomorrow and update tests.
This commit is contained in:
Robin Mills 2016-10-12 21:26:37 +00:00
parent 699e1c744e
commit 442b0155d0
2 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ namespace Exiv2
}
DataBuf rawData;
rawData.alloc(box.length);
rawData.alloc(box.length-sizeof(uuid)-sizeof(box));
long bufRead = io_->read(rawData.pData_, rawData.size_);
if (io_->error()) throw Error(14);
if (bufRead != rawData.size_) throw Error(20);

Binary file not shown.