mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radeonsi/vcn: Fix compile warnings with previously uninitialized variables.
Signed-off-by: Yinjie Yao <yinjie.yao@amd.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32126>
This commit is contained in:
parent
03462aff8f
commit
19c4b734f2
1 changed files with 1 additions and 1 deletions
|
|
@ -838,7 +838,7 @@ bool radeon_enc_av1_skip_mode_allowed(struct radeon_encoder *enc, uint32_t frame
|
|||
return false;
|
||||
|
||||
int32_t forward_idx = -1, backward_idx = -1;
|
||||
uint32_t forward_hint, backward_hint;
|
||||
uint32_t forward_hint = 0, backward_hint = 0;
|
||||
|
||||
for (uint32_t i = 0; i < RENCODE_AV1_REFS_PER_FRAME; i++) {
|
||||
uint32_t ref_hint = enc->enc_pic.av1.desc->dpb[enc->enc_pic.av1.desc->dpb_ref_frame_idx[i]].order_hint;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue