Commit 7729ede8 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'cleanup_dead_condition' into 'master'

Cleanup dead condition

See merge request jvet/VVCSoftware_VTM!621
parents 9016c19e d6aa30f4
......@@ -2591,17 +2591,14 @@ void CABACReader::mmvd_merge_idx(PredictionUnit& pu)
DTRACE(g_trace_ctx, D_SYNTAX, "base_mvp_idx() base_mvp_idx=%d\n", var0);
int numCandminus1_step = MMVD_REFINE_STEP - 1;
var1 = 0;
if (numCandminus1_step > 0)
if (m_BinDecoder.decodeBin(Ctx::MmvdStepMvpIdx()))
{
if (m_BinDecoder.decodeBin(Ctx::MmvdStepMvpIdx()))
var1++;
for (; var1 < numCandminus1_step; var1++)
{
var1++;
for (; var1 < numCandminus1_step; var1++)
if (!m_BinDecoder.decodeBinEP())
{
if (!m_BinDecoder.decodeBinEP())
{
break;
}
break;
}
}
}
......
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