ra entries past position num ref idx 10active minus1 or num_ref_idx_l1_active_minus1 are discarded from the initial reference picture list. When the number of entries in the initial RefPicList0 or RefPicList1 produced as specified in clauses 8.2.4.2.1 through 8.2.4.2.5 is less than num_ref_idx_10_active_minus1 +1 or num_ref_idx_l1_active_minus1 + respectively, the remaining entries in the initial reference picture list are set equal to "no reference picture". 8.2.4.2.1 Initialisation process for the reference picture list for P and SP slices in frames This initialisation process is invoked when decoding a P or SP slice in a coded frame. When this process is invoked, there shall be at least one reference frame or complementary reference field pair that is currently marked as "used for reference" (i.e., as "used for short-term reference" or "used for long-term reference") and is not marked as "non-existing". The reference picture list RefPicList0 is ordered SO that short-term reference frames and short-term complementary reference field pairs have lower indices than long-term reference frames and long-term complementary reference field pairs. The short-term reference frames and complementary reference field pairs are ordered starting with the frame or complementary field pair with the highest PicNum value and proceeding through in descending order to the frame or complementary field pair with the lowest PicNum value. The long-term reference frames and complementary reference field pairs are ordered starting with the frame or complementary field pair with the lowest LongTermPicNum value and proceeding through in ascending order to the frame or complementary field pair with the highest LongTermPicNum value. Rec. ITU-T H.264 (01/2012) NOTE - A non-paired reference field is not used for inter prediction for decoding a frame, regardless of the value of MbaffFrameFlag. For example, when three reference frames are marked as "used for short-term reference" with PicNum equal to 300, 302, and 303 and two reference frames are