modification_of_pic_nums_ide is equal to 3), the modification process for reference picture list RefPicList0 is finished. When the current slice is a B slice and ef_pic_list_modification_flag_I is equal to 1, the following applies: 1. Let refldxL1 be an index into the reference picture list RefPicList1. It is initially set equal to 0. Rec. ITU-T H.264 (01/2012) The corresponding syntax elements modification_of_pic_nums_ido are processed in the order they occur in the bitstream. For each of these syntax elements, the following applies: If modification_of_pic_nums_ide is equal to 0 or equal to 1, the process specified in clause 8.2.4.3.1 is invoked with refldxL1 as input, and the output is assigned to refIdxL1. Otherwise, if modification_of_pic_nums_idc is equal to 2, the process specified in clause 8.2.4.3.2 is invoked with refldxL1 as input, and the output is assigned to refIdxL1. Otherwise (modification_of_pic_nums_ido is equal to 3), the modification process for reference picture list RefPicList1 is finished. 8.2.4.3.1 Modification process of reference picture lists for short-term reference pictures Input to this process is an index refIdxLX (with X being 0 or 1). Output of this process is an incremented index refIdxLX. The variable picNumLXNoWrap is derived as follows: If modification_of_pic_nums_ido is equal to 0, if( picNumLXPred - (abs_diff_pic_num_minus1+1)<0 picNumLXNoWrap =picNumLXPred- - abs_diff_pic_num_minus1 MaxPicNum (8-34) picNumLXNoWrap = picNumLXPred - (abs_diff_pic_num_minus1+1 Otherwise (modification_of_pic_nums_ide is equal to 1), if( picNumLXPred + abs_diff_pic_num_minus1+1)> MaxPicNum ) picNumLXNoWrap = picNumLXPred+(abs_diff_pic_num_minus1+1)- - MaxPicNum (8-35) picNumLXNoWrap=picNumLXPred+(abs_diff_pic_num_minus1+1) = picNumLXPred is the prediction value for the variable picNumLXNoWrap. When the process specified in this clause is invoked the first time for a slice (that is, for the first occurrence of modification_of_pic_nums_idc equal to 0 or 1 in the ref_pic_list_modification() syntax),