id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 1095,Undefined behaviour when choosing longterm reference pictures.,peterderivaz,,"In the derivation process for the RPS and picture marking (equation 8-6 of JCTVC-L1003_v34) what should happen if there is more than one reference picture in the DPB with slice_pic_order_cnt_lsb equal to PocLtCurr[i]? For example, suppose MaxPicOrderCntLsb=16 and we have 4 short term frames in the DPB with POCs of 0,16,32,48. If the next picture decides to use: NumPocLtCurr=1 CurrDeltaPocMsbPresentFlag=0 PocLtCurr[0]=0 Which reference frame should be put into RefPicSetLtCurr[0]? The function TComSlice::xGetLongTermRefPic in the reference decoder simply selects the first match, but this behaviour does not appear to be defined in the specification. I wonder if this situation is meant to never occur? Section 8.3.2 ""Decoding process for reference picture set"" contains a number of requirements for bitstream conformance but they do not seem to rule out this case. Perhaps I have overlooked some requirement?",defect,closed,minor,HM-10.1,Text,D10 (L1003) v33,invalid,,bbross wjhan jct-vc@…