"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/common/iteminfobox.cpp" between
heif-3.6.0.tar.gz and heif-3.6.1.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

iteminfobox.cpp  (heif-3.6.0):iteminfobox.cpp  (heif-3.6.1)
skipping to change at line 305 skipping to change at line 305
} }
} }
if (getVersion() == 1) if (getVersion() == 1)
{ {
if (bitstr.numBytesLeft() > 0) // This is an optional field if (bitstr.numBytesLeft() > 0) // This is an optional field
{ {
bitstr.readStringWithLen(mExtensionType, 4); bitstr.readStringWithLen(mExtensionType, 4);
} }
if (bitstr.numBytesLeft() > 0) // This is an optional field if (bitstr.numBytesLeft() > 0) // This is an optional field
{ {
auto* itemInfoExt = CUSTOM_NEW(FDItemInfoExtension, ()); mItemInfoExtension = makeCustomShared<FDItemInfoExtension>();
mItemInfoExtension.reset(itemInfoExt); mItemInfoExtension->parse(bitstr);
itemInfoExt->parse(bitstr);
} }
} }
if (getVersion() >= 2) if (getVersion() >= 2)
{ {
if (getVersion() == 2) if (getVersion() == 2)
{ {
mItemID = bitstr.read16Bits(); mItemID = bitstr.read16Bits();
} }
else if (getVersion() == 3) else if (getVersion() == 3)
{ {
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)