libs: decoder: H265: Fix a typo in scc reference setting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/402>
This commit is contained in:
He Junyan 2020-11-30 18:00:30 +08:00
parent d94b864428
commit ba58557c14

View file

@ -1737,7 +1737,7 @@ init_picture_refs (GstVaapiDecoderH265 * decoder,
if (pps->pps_scc_extension_params.pps_curr_pic_ref_enabled_flag
&& !ref_pic_list_modification->ref_pic_list_modification_flag_l0
&& (NumRpsCurrTempList0 > num_ref_idx_l0_active_minus1 + 1))
priv->RefPicList0[rIdx++] = picture;
priv->RefPicList0[num_ref_idx_l0_active_minus1] = picture;
priv->RefPicList0_count = rIdx;
if (type == GST_H265_B_SLICE) {