diff --git a/source/App/EncoderApp/EncApp.cpp b/source/App/EncoderApp/EncApp.cpp index 86afb73ab8be1dedd06e1e666250a7251870d105..56e190e7feb966352b1ef5cbdd6116485d7bf772 100644 --- a/source/App/EncoderApp/EncApp.cpp +++ b/source/App/EncoderApp/EncApp.cpp @@ -118,7 +118,7 @@ void EncApp::xInitLibCfg() } #if JVET_R0193 - m_cfgVPSParameters.m_maxTidILRefPicsPlus1.resize(vps.getMaxLayers(), std::vector<uint32_t>(vps.getMaxLayers(), NOT_VALID)); + m_cfgVPSParameters.m_maxTidILRefPicsPlus1.resize(vps.getMaxLayers(), std::vector<uint32_t>(vps.getMaxLayers(), MAX_TLAYER)); #endif for (int i = 0; i < vps.getMaxLayers(); i++) {