Skip to content
Snippets Groups Projects
Commit 6afeba30 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'fix_subpic' into 'master'

Bug fix for no initialization of subPic info in SPS

See merge request jvet/VVCSoftware_VTM!1368
parents de63a368 53592714
No related branches found
No related tags found
No related merge requests found
......@@ -2194,6 +2194,12 @@ SPS::SPS()
#if JVET_Q0179_SCALING_WINDOW_SIZE_CONSTRAINT
::memset(m_ppsValidFlag, 0, sizeof(m_ppsValidFlag));
#endif
::memset(m_subPicCtuTopLeftX, 0, sizeof(m_subPicCtuTopLeftX));
::memset(m_subPicCtuTopLeftY, 0, sizeof(m_subPicCtuTopLeftY));
::memset(m_SubPicWidth, 0, sizeof(m_SubPicWidth));
::memset(m_SubPicHeight, 0, sizeof(m_SubPicHeight));
::memset(m_subPicTreatedAsPicFlag, 0, sizeof(m_subPicTreatedAsPicFlag));
::memset(m_loopFilterAcrossSubpicEnabledFlag, 0, sizeof(m_loopFilterAcrossSubpicEnabledFlag));
}
SPS::~SPS()
......
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