"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/writer/writermoovimpl.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).

writermoovimpl.cpp  (heif-3.6.0):writermoovimpl.cpp  (heif-3.6.1)
skipping to change at line 177 skipping to change at line 177
} }
else if (nalUnit.decSpecInfoType == DecoderSpecInfoType::HEVC_VP S && !vpsFound) else if (nalUnit.decSpecInfoType == DecoderSpecInfoType::HEVC_VP S && !vpsFound)
{ {
vpsFound = true; vpsFound = true;
decCfg.addNalUnit(nalVector, HevcNalUnitType::VPS, true); decCfg.addNalUnit(nalVector, HevcNalUnitType::VPS, true);
} }
else if (nalUnit.decSpecInfoType == DecoderSpecInfoType::HEVC_SP S && !spsFound) else if (nalUnit.decSpecInfoType == DecoderSpecInfoType::HEVC_SP S && !spsFound)
{ {
spsFound = true; spsFound = true;
decCfg.addNalUnit(nalVector, HevcNalUnitType::SPS, true); decCfg.addNalUnit(nalVector, HevcNalUnitType::SPS, true);
decCfg.makeConfigFromSPS(nalVector); if (decCfg.makeConfigFromSPS(nalVector) == false)
{
return ErrorCode::DECODER_CONFIGURATION_ERROR;
}
} }
else else
{ {
return ErrorCode::DECODER_CONFIGURATION_ERROR; return ErrorCode::DECODER_CONFIGURATION_ERROR;
} }
} }
if (!spsFound || !ppsFound || !vpsFound) if (!spsFound || !ppsFound || !vpsFound)
{ {
return ErrorCode::DECODER_CONFIGURATION_ERROR; return ErrorCode::DECODER_CONFIGURATION_ERROR;
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

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