﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
166	Derivation error with the context of IBC flag	XiangLi		"#if JVET_M0483_IBC
unsigned DeriveCtx::CtxIBCFlag(const CodingUnit& cu)
{
  const CodingStructure *cs = cu.cs;
  unsigned ctxId = 0;
  const CodingUnit *cuLeft = cs->getCURestricted(cu.lumaPos().offset(-1, 0), cu, CH_L);
  ctxId = (cuLeft && CU::isIBC(*cuLeft)) ? 1 : 0;

  const CodingUnit *cuAbove = cs->getCURestricted(cu.lumaPos().offset(0, -1), cu, CH_L);
  ctxId = (cuAbove && CU::isIBC(*cuAbove)) ? 1 : 0;
  return ctxId;
}
#endif

In this function, ctxId is reset for cuAbove. ""+="" should be used instead."	defect	closed	minor		VTM		fixed	IBC	ksuehring XiangLi fbossen jvet@…
