From b8e74aa1cb719f7aa9753ae359d36c3b1d2c54aa Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 24 Sep 2024 15:04:01 -0300 Subject: [PATCH] avcodec/cbs_h265: num_ref_displays can be up to 32 Signed-off-by: James Almer --- libavcodec/cbs_h265.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/cbs_h265.h b/libavcodec/cbs_h265.h index 580c6cd4f4..bb7a29c2e5 100644 --- a/libavcodec/cbs_h265.h +++ b/libavcodec/cbs_h265.h @@ -725,14 +725,14 @@ typedef struct H265RawSEI3DReferenceDisplaysInfo { uint8_t ref_viewing_distance_flag; uint8_t prec_ref_viewing_dist; uint8_t num_ref_displays_minus1; - uint16_t left_view_id[31]; - uint16_t right_view_id[31]; - uint8_t exponent_ref_display_width[31]; - uint8_t mantissa_ref_display_width[31]; - uint8_t exponent_ref_viewing_distance[31]; - uint8_t mantissa_ref_viewing_distance[31]; - uint8_t additional_shift_present_flag[31]; - uint16_t num_sample_shift_plus512[31]; + uint16_t left_view_id[32]; + uint16_t right_view_id[32]; + uint8_t exponent_ref_display_width[32]; + uint8_t mantissa_ref_display_width[32]; + uint8_t exponent_ref_viewing_distance[32]; + uint8_t mantissa_ref_viewing_distance[32]; + uint8_t additional_shift_present_flag[32]; + uint16_t num_sample_shift_plus512[32]; uint8_t three_dimensional_reference_displays_extension_flag; } H265RawSEI3DReferenceDisplaysInfo;