Skip to content
Snippets Groups Projects
Commit 63dcca74 authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'fix_reconFile_creation' into 'master'

Fix reconstruction file creation when VPS is send with vps_max_layers_minus1 = 0

See merge request jvet/VVCSoftware_VTM!1207
parents 29dac252 1b9d73fb
No related branches found
No related tags found
No related merge requests found
......@@ -360,7 +360,9 @@ uint32_t DecApp::decode()
}
}
#if JVET_P1019_OUTPUT_LAYER_SET
if(((m_cDecLib.getVPS() != nullptr) && (m_cDecLib.getVPS()->getMaxLayers() > 1) && (isNaluWithinTargetOutputLayerIdSet(&nalu))) || (m_cDecLib.getVPS() == nullptr))
if(((m_cDecLib.getVPS() != nullptr) &&
((m_cDecLib.getVPS()->getMaxLayers() == 1) || (isNaluWithinTargetOutputLayerIdSet(&nalu)))) ||
(m_cDecLib.getVPS() == nullptr))
#endif
m_cVideoIOYuvReconFile[nalu.m_nuhLayerId].open(reconFileName, true, m_outputBitDepth, m_outputBitDepth, bitDepths.recon); // write mode
#else
......
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