Jp2Image::printStructure: Corrected used DataBuf for output

v0.27.3
Robin Mills 8 years ago committed by Dan Čermák
parent befe8c64e3
commit e96e0daa8a

@ -520,9 +520,9 @@ namespace Exiv2
if ( bPrint ) { if ( bPrint ) {
out << " | iccLength:" << iccLength ; out << " | iccLength:" << iccLength ;
} }
if ( bICC ) {
DataBuf icc(iccLength); out.write((const char*)data.pData_+pad,iccLength);
if ( bICC ) out.write((const char*)icc.pData_,icc.size_); }
} }
lf(out,bLF); lf(out,bLF);
} }

Loading…
Cancel
Save