From feef6928817d36e0e48f86a2c10687334a0312f2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 24 Sep 2024 15:04:12 -0300 Subject: [PATCH] avcodec/hevc/sei: num_ref_displays can be up to 32 Signed-off-by: James Almer --- libavcodec/hevc/sei.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/hevc/sei.h b/libavcodec/hevc/sei.h index a9d6a52080..806540fac6 100644 --- a/libavcodec/hevc/sei.h +++ b/libavcodec/hevc/sei.h @@ -84,14 +84,14 @@ typedef struct HEVCSEITDRDI { uint8_t ref_viewing_distance_flag; uint8_t prec_ref_viewing_dist; uint8_t num_ref_displays; - 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]; - int16_t num_sample_shift[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]; + int16_t num_sample_shift[32]; uint8_t three_dimensional_reference_displays_extension_flag; } HEVCSEITDRDI;