﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1143	Wrong check for sh_slice_address when pps_rect_slice_flag is equal to 1	hbteo		"Spec description:
Otherwise (pps_rect_slice_flag is equal to 1), the following applies:
- ...
- The value of sh_slice_address shall be in the range of 0 to NumSlicesInSubpic[ CurrSubpicIdx ] − 1, inclusive.

VTM implementation:
{{{
      int bitsSliceAddress = ceilLog2(currSubPic.getNumSlicesInSubPic());
      READ_CODE(bitsSliceAddress, uiCode, ""slice_address"");  sliceAddr = uiCode;
      CHECK(sliceAddr >= pps->getNumSlicesInPic(), ""Invalid slice address"");
}}}

It should be checking number of slices in subpic:
{{{
      int bitsSliceAddress = ceilLog2(currSubPic.getNumSlicesInSubPic());
      READ_CODE(bitsSliceAddress, uiCode, ""slice_address"");  sliceAddr = uiCode;
      CHECK(sliceAddr >= currSubPic.getNumSlicesInSubPic(), ""Invalid slice address"");
}}}
"	defect	closed	minor	VTM-10.0	VTM	VTM-9.0	fixed		ksuehring XiangLi fbossen jvet@…
