re list RefPicList0. It is initially set equal to 0. 2. The corresponding syntax elements modification_of_pic_nums_idc are processed in the order they occur in the bitstream. For each of these syntax elements, the following applies: If modification_of_pic_nums_idc is equal to 0 or equal to 1, the process specified in clause H.8.2.2.1 is invoked with RefPicList0 and refIdxL0 given as input, and the output is assigned to RefPicList0 and refIdxL0. Otherwise, if hodification_of_pic_nums_ido is equal to 2, the process specified in clause H.8.2.2.2 is invoked with RefPicList0 and refIdxL0 given as input, and the output is assigned to RefPicList0 and refldxL0. Otherwise, if hodification_of_pic_nums_ido is equal to 4 or equal to 5, the process specified in clause H.8.2.2.3 is invoked with RefPicList0 and refIdxL0 given as input, and the output is assigned RefPicList0 and refldxL0. Otherwise (modification_of_pic_nums_ido is equal to 3), the modification process for reference picture list RefPicList0 is finished. When ref_pic_list_modification_flag_1 is equal to 1, the following ordered steps are specified: 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) 2. The corresponding syntax elements modification_of_pic_nums_idc are processed in the order they occur in the bitstream. For each of these syntax elements, the following applies: If modification_of_pic_nums_idc is equal to 0 or equal to 1, the process specified in clause H.8.2.2.1 is invoked with RefPicList1 and refldxL1 given as input, and the output is assigned to RefPicList1 and refIdxL1. Otherwise, if modification_of_pic_nums_idc is equal to 2, the process specified in clause H.8.2.2.2 is invoked with RefPicList1 and refIdxL1 given as input, and the output is assigned to RefPicList1 and refIdxL1. Otherwise, if modification_of_pic_nums_ido is equal to 4 or equal to 5, the process specified clause H.8.2.2.3 is invoked with RefPicList1 and refldxL1 given as input, and the output is assign