add end_of_picture_flag