Commit 49cdf1c2 authored by Karsten Suehring's avatar Karsten Suehring

Bug fix: don't add a "/", if path prefix is empty

parent 759300c7
......@@ -1385,7 +1385,11 @@ Bool EncAppCfg::parseCfg( Int argc, TChar* argv[] )
m_ext360.setMaxCUInfo(m_uiCTUSize, 1 << MIN_CU_LOG2);
#endif
m_inputFileName = inputPathPrefix + "/" + m_inputFileName;
if (!inputPathPrefix.empty() && inputPathPrefix.back() != '/' && inputPathPrefix.back() != '\\' )
{
inputPathPrefix += "/";
}
m_inputFileName = inputPathPrefix + m_inputFileName;
m_framesToBeEncoded = ( m_framesToBeEncoded + m_temporalSubsampleRatio - 1 ) / m_temporalSubsampleRatio;
m_adIntraLambdaModifier = cfg_adIntraLambdaModifier.values;
if(m_isField)
......
Markdown is supported
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