codecparsers: h265: Fix the parsing of ref_pic_lists_modification
https://bugzilla.gnome.org/show_bug.cgi?id=753552
This commit is contained in:
parent
b38f107bd3
commit
b6b2e04501
@ -885,7 +885,7 @@ gst_h265_slice_parse_ref_pic_list_modification (GstH265SliceHdr * slice,
|
|||||||
READ_UINT8 (nr, rpl_mod->ref_pic_list_modification_flag_l0, 1);
|
READ_UINT8 (nr, rpl_mod->ref_pic_list_modification_flag_l0, 1);
|
||||||
|
|
||||||
if (rpl_mod->ref_pic_list_modification_flag_l0) {
|
if (rpl_mod->ref_pic_list_modification_flag_l0) {
|
||||||
for (i = 0; i < slice->num_ref_idx_l0_active_minus1; i++) {
|
for (i = 0; i <= slice->num_ref_idx_l0_active_minus1; i++) {
|
||||||
READ_UINT32 (nr, rpl_mod->list_entry_l0[i], n);
|
READ_UINT32 (nr, rpl_mod->list_entry_l0[i], n);
|
||||||
CHECK_ALLOWED_MAX (rpl_mod->list_entry_l0[i], (NumPocTotalCurr - 1));
|
CHECK_ALLOWED_MAX (rpl_mod->list_entry_l0[i], (NumPocTotalCurr - 1));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user