mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
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);
|
||||
CHECK_ALLOWED_MAX (rpl_mod->list_entry_l0[i], (NumPocTotalCurr - 1));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue