libs: codecparsers: H266 GstH266RefPicListStruct's abs_delta_poc_st should be 16...
authorHe Junyan <junyan.he@intel.com>
Mon, 16 Dec 2024 16:15:07 +0000 (00:15 +0800)
committerHe Junyan <junyan.he@intel.com>
Fri, 20 Dec 2024 00:22:31 +0000 (08:22 +0800)
Its value range is 0~(2^15 − 1) according to the spec.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5710>

subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth266parser.h

index 95a34efcdb2778db6778a6b98831e04dd819df73..f7f7010ce06ce2c382a6b95699e481c9e27ec07a 100644 (file)
@@ -1116,7 +1116,7 @@ struct _GstH266RefPicListStruct {
   guint8 ltrp_in_header_flag;
   guint8 inter_layer_ref_pic_flag[GST_H266_MAX_REF_ENTRIES];
   guint8 st_ref_pic_flag[GST_H266_MAX_REF_ENTRIES];
-  guint8 abs_delta_poc_st[GST_H266_MAX_REF_ENTRIES];
+  guint16 abs_delta_poc_st[GST_H266_MAX_REF_ENTRIES];
   guint8 strp_entry_sign_flag[GST_H266_MAX_REF_ENTRIES];
   guint8 rpls_poc_lsb_lt[GST_H266_MAX_REF_ENTRIES];
   guint num_short_term_pic;