From 151ed0a1838bd3d7778fdbce33b41f0d739cd76b Mon Sep 17 00:00:00 2001 From: Nikolay Shostak <nikolai.shostak@vicuesoft.com> Date: Thu, 24 Nov 2022 13:16:47 +0000 Subject: [PATCH] Update DecLib.cpp --- source/Lib/DecoderLib/DecLib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp index 8b2de16b6..80a5fb4ba 100644 --- a/source/Lib/DecoderLib/DecLib.cpp +++ b/source/Lib/DecoderLib/DecLib.cpp @@ -1727,7 +1727,7 @@ void DecLib::checkAPSInPictureUnit() } } -void activateAPS(PicHeader* picHeader, Slice* pSlice, ParameterSetManager& parameterSetManager, APS** apss, APS*& lmcsAPS, APS*& scalingListAPS) +void activateAPS(PicHeader* picHeader, Slice* pSlice, ParameterSetManager& parameterSetManager, APS** apss, APS* lmcsAPS, APS* scalingListAPS) { const SPS *sps = parameterSetManager.getSPS(picHeader->getSPSId()); //luma APSs @@ -3261,13 +3261,13 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl xCheckMixedNalUnit(pcSlice, sps, nalu); m_nalUnitInfo[naluInfo.m_nuhLayerId].push_back(naluInfo); SEIMessages drapSEIs = getSeisByType(m_pcPic->SEIs, SEI::DEPENDENT_RAP_INDICATION); - pcSlice->setLatestDRAPPOC(m_latestDRAPPOC); if (!drapSEIs.empty()) { msg(NOTICE, "Dependent RAP indication SEI decoded\n"); m_latestDRAPPOC = pcSlice->getPOC(); pcSlice->setDRAP(true); } + pcSlice->setLatestDRAPPOC(m_latestDRAPPOC); pcSlice->checkConformanceForDRAP(nalu.m_temporalId); if (pcSlice->isIntra()) { -- GitLab