vulkan/video: fix to set ref_pic_list_modification_flag_l1 correctly

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36152>
This commit is contained in:
Hyunjun Ko
2025-07-04 15:29:24 +09:00
committed by Marge Bot
parent 62b07c01d1
commit b59552628e
+2 -2
View File
@@ -2451,13 +2451,13 @@ vk_video_encode_h264_slice_header(const StdVideoEncodeH264PictureInfo *pic_info,
}
vl_bitstream_put_bits(&enc, 1, pic_info->pRefLists->flags.ref_pic_list_modification_flag_l0);
vl_bitstream_put_bits(&enc, 1, pic_info->pRefLists->flags.ref_pic_list_modification_flag_l1);
if (pic_info->pRefLists->flags.ref_pic_list_modification_flag_l0) {
assert(0);
for (unsigned i = 0; i < pic_info->pRefLists->refList0ModOpCount; i++) {
}
}
vl_bitstream_put_bits(&enc, 1, pic_info->pRefLists->flags.ref_pic_list_modification_flag_l1);
if (pic_info->pRefLists->flags.ref_pic_list_modification_flag_l1) {
assert(0);
for (unsigned i = 0; i < pic_info->pRefLists->refList1ModOpCount; i++) {