Skip to content
Snippets Groups Projects
Commit dfc2b1f7 authored by Daniel's avatar Daniel
Browse files

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

parent 59cf59f3
No related branches found
No related tags found
1 merge request!448JVET-N0235 bugfix
......@@ -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();
......
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