[FFmpeg-devel] [PATCH] cbs_h266: fix sign for pps_xxx_qp_offset_list

James Almer jamrial at gmail.com
Sun Jul 2 15:43:26 EEST 2023


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.


More information about the ffmpeg-devel mailing list