diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp index f1de6de79ffbbc8e16eff01f6414e48b8a0158bc..7172310d3e51bf3a659ec44d48c75625545df338 100644 --- a/source/Lib/DecoderLib/DecLib.cpp +++ b/source/Lib/DecoderLib/DecLib.cpp @@ -2770,7 +2770,7 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl } CHECK((sps->getVPSId() > 0) && (vps == 0), "Invalid VPS"); - const ProfileTierLevel &profileTierLevel = sps->getPtlDpbHrdParamsPresentFlag() + const ProfileTierLevel &profileTierLevel = vps->getNumLayersInOls(vps->m_targetOlsIdx) == 1 ? *sps->getProfileTierLevel() : vps->getProfileTierLevel(vps->getOlsPtlIdx(vps->m_targetOlsIdx));