Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon Fix e...



details:   https://anonhg.NetBSD.org/xsrc/rev/61a892ca1549
branches:  trunk
changeset: 7581:61a892ca1549
user:      rjs <rjs%NetBSD.org@localhost>
date:      Sun Jul 16 21:58:14 2023 +0000

description:
Fix enum name in cast.

diffstat:

 external/mit/MesaLib/dist/src/gallium/drivers/radeon/radeon_vcn_enc.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r fd006c8eea3a -r 61a892ca1549 external/mit/MesaLib/dist/src/gallium/drivers/radeon/radeon_vcn_enc.c
--- a/external/mit/MesaLib/dist/src/gallium/drivers/radeon/radeon_vcn_enc.c     Sun Jul 16 21:55:45 2023 +0000
+++ b/external/mit/MesaLib/dist/src/gallium/drivers/radeon/radeon_vcn_enc.c     Sun Jul 16 21:58:14 2023 +0000
@@ -103,7 +103,7 @@ static void radeon_vcn_enc_get_param(str
       }
    } else if (u_reduce_video_profile(picture->profile) == PIPE_VIDEO_FORMAT_HEVC) {
       struct pipe_h265_enc_picture_desc *pic = (struct pipe_h265_enc_picture_desc *)picture;
-      enc->enc_pic.picture_type = (enum pipe_h264_enc_picture_type)pic->picture_type;
+      enc->enc_pic.picture_type = (enum pipe_h2645_enc_picture_type)pic->picture_type;
       enc->enc_pic.frame_num = pic->frame_num;
       enc->enc_pic.pic_order_cnt = pic->pic_order_cnt;
       enc->enc_pic.pic_order_cnt_type = pic->pic_order_cnt_type;



Home | Main Index | Thread Index | Old Index