Commit 228db361 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'ladf_bugfix' into 'master'

Ticket #233 (Bugfix for the initialization issue on LADF)

See merge request jvet/VVCSoftware_VTM!498
parents f14506bf d5a16ae1
......@@ -1747,6 +1747,7 @@ bool EncAppCfg::parseCfg( int argc, char* argv[] )
CHECK( m_LadfNumIntervals != cfg_LadfQpOffset.values.size(), "size of LadfQpOffset must be equal to LadfNumIntervals");
CHECK( m_LadfNumIntervals - 1 != cfg_LadfIntervalLowerBound.values.size(), "size of LadfIntervalLowerBound must be equal to LadfNumIntervals - 1");
m_LadfQpOffset = cfg_LadfQpOffset.values;
m_LadfIntervalLowerBound[0] = 0;
for (int k = 1; k < m_LadfNumIntervals; k++)
{
m_LadfIntervalLowerBound[k] = cfg_LadfIntervalLowerBound.values[k - 1];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment