From 1e0d51259519aa93a6bfa267dcfb8eaa32001e8e Mon Sep 17 00:00:00 2001 From: Thong Thai Date: Tue, 13 Jul 2021 11:59:11 -0400 Subject: [PATCH] gallium: change rate ctrl struct to array Signed-off-by: Thong Thai Reviewed-by: Boyuan Zhang Part-of: --- src/gallium/include/pipe/p_video_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index a1a37a49061..e268f0c1c24 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -391,7 +391,7 @@ struct pipe_h264_enc_picture_desc { struct pipe_picture_desc base; - struct pipe_h264_enc_rate_control rate_ctrl; + struct pipe_h264_enc_rate_control rate_ctrl[4]; struct pipe_h264_enc_motion_estimation motion_est; struct pipe_h264_enc_pic_control pic_ctrl;