diff mbox series

[FFmpeg-devel] cbs_h266: fix sign for pps_xxx_qp_offset_list

Message ID TYSPR06MB643373E36E90379C4D530AEBAA28A@TYSPR06MB6433.apcprd06.prod.outlook.com
State Accepted
Commit 8489e317bf293d1fa1f07f39ccdb80987716f819
Headers show
Series [FFmpeg-devel] cbs_h266: fix sign for pps_xxx_qp_offset_list | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Nuo Mi July 2, 2023, 10:15 a.m. UTC
---
 libavcodec/cbs_h266.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

James Almer July 2, 2023, 12:43 p.m. UTC | #1
On 7/2/2023 7:15 AM, Nuo Mi wrote:
> ---
>   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;

Applied.
diff mbox series

Patch

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;