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

Fix: set the default for MaxTidILRefPicsPlus1 to 7

This results in setting max_tid_ref_present_flag to 0 and not sending the syntax element.

The previous default of -1 would try to send (uint32_t)-1 in three bits.
parent b79edae9
No related branches found
No related tags found
1 merge request!1926Fix: set the default for MaxTidILRefPicsPlus1 to 7
Pipeline #5840 passed
...@@ -118,7 +118,7 @@ void EncApp::xInitLibCfg() ...@@ -118,7 +118,7 @@ void EncApp::xInitLibCfg()
} }
#if JVET_R0193 #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 #endif
for (int i = 0; i < vps.getMaxLayers(); i++) for (int i = 0; i < vps.getMaxLayers(); i++)
{ {
......
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