From bca3a3c9238ca311ea86f024cbd083c5330f7b7d Mon Sep 17 00:00:00 2001 From: Mengkejiergeli Ba Date: Wed, 15 Feb 2023 09:32:57 +0800 Subject: [PATCH] h264parser: Fix the type of a parameter From spec, the value of second_chroma_qp_index_offset is in the range of -12 to +12 inclusive. Fix its type from guint8 to gint8. Part-of: --- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.h b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.h index eb99b6aa0c..895733afc7 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.h @@ -840,7 +840,7 @@ struct _GstH264PPS guint8 scaling_lists_4x4[6][16]; guint8 scaling_lists_8x8[6][64]; - guint8 second_chroma_qp_index_offset; + gint8 second_chroma_qp_index_offset; gboolean valid;