﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1041	Undefined behaviour if num_ref_idx_l0_active_minus1 >= NumPocTotalCurr and ref_pic_list_modification_flag_l0==0	peterderivaz		"What should be the behaviour if ref_pic_list_modification_flag_l0 == 0 and num_ref_idx_l0_active_minus1 >= NumPocTotalCurr?

This is important in 8.3.4 ""Decoding process for reference picture lists construction"" of JCTVC-L1003_v29.

RefPicList0[num_ref_idx_l0_active_minus1] is a function of RefPicListTemp0[num_ref_idx_l0_active_minus1], but this value will not have been defined if NumPocTotalCurr is too small.

In other words, what should happen if num_ref_idx_l0_active_minus1 specifies more reference pictures than have been defined in the reference picture sets?  I am guessing that this is not allowed, but I can't see where it is explicitly forbidden.

I suggest adding an additional restriction to the semantics for num_ref_idx_l0_default_active_minus1 to prohibit this case.

(A similar change would be needed for num_ref_idx_l1_default_active_minus1)
"	enhancement	closed	minor	D10	Text	D10 (L1003) v28	invalid		bbross wjhan jct-vc@…
