Commit dfc2b1f7 authored by Daniel's avatar Daniel
Browse files

Fixed bug that cause enc/dec mismatch when SMVD option is 0.

parent 59cf59f3
......@@ -1210,7 +1210,11 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
pcSlice->setCheckLDC(bLowDelay);
}
#if JVET_N0235_SMVD_SPS
if (pcSlice->getSPS()->getUseSMVD() && pcSlice->getCheckLDC() == false && pcSlice->getMvdL1ZeroFlag() == false)
#else
if ( pcSlice->getCheckLDC() == false && pcSlice->getMvdL1ZeroFlag() == false )
#endif
{
int currPOC = pcSlice->getPOC();
......
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