[FFmpeg-cvslog] cbs_h266: fix sign for pps_xxx_qp_offset_list

Nuo Mi git at videolan.org
Sun Jul 2 15:42:57 EEST 2023


ffmpeg | branch: master | Nuo Mi <nuomi2021 at gmail.com> | Sun Jul  2 18:15:11 2023 +0800| [8489e317bf293d1fa1f07f39ccdb80987716f819] | committer: James Almer

cbs_h266: fix sign for pps_xxx_qp_offset_list

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

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

 libavcodec/cbs_h266.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 9e823919af..e33d08a0f5 100644
--- a/libavcodec/cbs_h266.h
+++ b/libavcodec/cbs_h266.h
@@ -520,9 +520,9 @@ typedef struct H266RawPPS {
     uint8_t  pps_slice_chroma_qp_offsets_present_flag;
     uint8_t  pps_cu_chroma_qp_offset_list_enabled_flag;
     uint8_t  pps_chroma_qp_offset_list_len_minus1;
-    uint8_t  pps_cb_qp_offset_list[6];
-    uint8_t  pps_cr_qp_offset_list[6];
-    uint8_t  pps_joint_cbcr_qp_offset_list[6];
+    int8_t   pps_cb_qp_offset_list[6];
+    int8_t   pps_cr_qp_offset_list[6];
+    int8_t   pps_joint_cbcr_qp_offset_list[6];
     uint8_t  pps_deblocking_filter_control_present_flag;
     uint8_t  pps_deblocking_filter_override_enabled_flag;
     uint8_t  pps_deblocking_filter_disabled_flag;



More information about the ffmpeg-cvslog mailing list