Commit 32201ae1 authored by Frank Bossen's avatar Frank Bossen

Merge branch 'JVET-T0061-MR' into 'master'

JVET-T0061: remove unnecessary call and fix memory release

See merge request !1910
parents 3d93f0b9 36bb013f
Pipeline #5796 passed with stage
in 13 minutes and 53 seconds
......@@ -2151,8 +2151,6 @@ void CABACReader::prediction_unit( PredictionUnit& pu, MergeCtx& mrgCtx )
CHECK(!((pu.mvd[1 - eCurRefList].getHor() >= MVD_MIN) && (pu.mvd[1 - eCurRefList].getHor() <= MVD_MAX)) || !((pu.mvd[1 - eCurRefList].getVer() >= MVD_MIN) && (pu.mvd[1 - eCurRefList].getVer() <= MVD_MAX)), "Illegal MVD value");
pu.refIdx[1 - eCurRefList] = pu.cs->slice->getSymRefIdx( 1 - eCurRefList );
}
PU::spanMotionInfo( pu, mrgCtx );
}
void CABACReader::smvd_mode( PredictionUnit& pu )
......
......@@ -1220,7 +1220,7 @@ void DecLib::checkSeiInPictureUnit()
for (uint32_t i = 0; i < seiList.size(); i++)
{
uint8_t *payload = std::get<2>(seiList[i]);
delete payload;
delete[] payload;
}
seiList.clear();
}
......
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