mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv/video: Fix msg header total size
It needs to include also codec msg size. Cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34449>
This commit is contained in:
parent
6cb7765409
commit
34031531fc
1 changed files with 2 additions and 0 deletions
|
|
@ -2040,6 +2040,8 @@ rvcn_dec_message_decode(struct radv_cmd_buffer *cmd_buffer, struct radv_video_se
|
|||
unreachable("unknown operation");
|
||||
}
|
||||
|
||||
header->total_size += index_codec->size;
|
||||
|
||||
if (dpb_update_required)
|
||||
assert(frame_info->pSetupReferenceSlot != NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue