commit d5a16ae14bc6427e2adbfbd11f0e94bd6dfb1916
Author: Shunsuke Iwamura <iwamura.s-gc@nhk.or.jp>
Date: Tue Apr 23 16:36:17 2019 +0900
Bugfix for the initialization issue on LADF
diff --git a/source/App/EncoderApp/EncAppCfg.cpp b/source/App/EncoderApp/EncAppCfg.cpp
index ac1776a7..8ac209df 100644
a
|
b
|
bool EncAppCfg::parseCfg( int argc, char* argv[] ) |
1743 | 1743 | CHECK( m_LadfNumIntervals != cfg_LadfQpOffset.values.size(), "size of LadfQpOffset must be equal to LadfNumIntervals"); |
1744 | 1744 | CHECK( m_LadfNumIntervals - 1 != cfg_LadfIntervalLowerBound.values.size(), "size of LadfIntervalLowerBound must be equal to LadfNumIntervals - 1"); |
1745 | 1745 | m_LadfQpOffset = cfg_LadfQpOffset.values; |
| 1746 | m_LadfIntervalLowerBound[0] = 0; |
1746 | 1747 | for (int k = 1; k < m_LadfNumIntervals; k++) |
1747 | 1748 | { |
1748 | 1749 | m_LadfIntervalLowerBound[k] = cfg_LadfIntervalLowerBound.values[k - 1]; |