Commit 2a851886 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'fix_ticket153' into 'master'

Fix ticket #153 on using uninitialized interDir and GBI array

See merge request jvet/VVCSoftware_VTM!304
parents 20671d8e 9bf9b6a5
......@@ -2319,6 +2319,8 @@ void PU::getInterMMVDMergeCandidates(const PredictionUnit &pu, MergeCtx& mrgCtx,
mrgCtx.mmvdBaseMv[k][0] = MvField(Mv(0, 0), 0);
mrgCtx.mmvdBaseMv[k][0] = MvField(Mv(0, 0), 0);
#endif
mrgCtx.GBiIdx[k] = GBI_DEFAULT;
mrgCtx.interDirNeighbours[k] = (mrgCtx.mmvdBaseMv[k][0].refIdx >= 0) + (mrgCtx.mmvdBaseMv[k][1].refIdx >= 0) * 2;
}
}
}
......
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