Skip to content
Snippets Groups Projects
Commit 0dd19a48 authored by Xiang Ma's avatar Xiang Ma
Browse files

fix m_targetOutputLayerIdSet to m_targetDecLayerIdSet

parent 4d66a04a
No related branches found
No related tags found
1 merge request!1406JVET-P0115: Constraint on LayerId and TemporalId
...@@ -177,7 +177,7 @@ uint32_t DecApp::decode() ...@@ -177,7 +177,7 @@ uint32_t DecApp::decode()
CHECK(nalu.m_temporalId > m_iMaxTemporalLayer, "bitstream shall not include any NAL unit with TemporalId greater than HighestTid"); CHECK(nalu.m_temporalId > m_iMaxTemporalLayer, "bitstream shall not include any NAL unit with TemporalId greater than HighestTid");
if (m_targetDecLayerIdSet.size()) if (m_targetDecLayerIdSet.size())
{ {
CHECK(std::find(m_targetOutputLayerIdSet.begin(), m_targetOutputLayerIdSet.end(), nalu.m_nuhLayerId) == m_targetOutputLayerIdSet.end(), "bitstream shall not contain any other layers than included in the OLS with OlsIdx"); CHECK(std::find(m_targetDecLayerIdSet.begin(), m_targetDecLayerIdSet.end(), nalu.m_nuhLayerId) == m_targetDecLayerIdSet.end(), "bitstream shall not contain any other layers than included in the OLS with OlsIdx");
} }
#endif #endif
if (bPicSkipped) if (bPicSkipped)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment