[FFmpeg-cvslog] avcodec/cbs_h265: num_ref_displays can be up to 32

James Almer git at videolan.org
Tue Sep 24 21:11:32 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Sep 24 15:04:01 2024 -0300| [b8e74aa1cb719f7aa9753ae359d36c3b1d2c54aa] | committer: James Almer

avcodec/cbs_h265: num_ref_displays can be up to 32

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8e74aa1cb719f7aa9753ae359d36c3b1d2c54aa
---

 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;
 



More information about the ffmpeg-cvslog mailing list