[Bug 797279] [regression] h265parser: Fix wrong maximum range check in gst_h265_parse_vps()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 12 10:42:15 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797279

--- Comment #2 from Seungha Yang <pudding8757 at gmail.com> ---
The error stream is private, it couldn't be shared, sorry. 

Spec. is saying that,
7.4.3.1 Video parameter set RBSP semantics
...

*vps_max_layer_id* specifies the maximum allowed value of nuh_layer_id of all
NAL units in each CVS referring to the
VPS. vps_max_layer_id shall be less than 63 in bitstreams conforming to this
version of this Specification. The value of 63
for vps_max_layer_id is reserved for future use by ITU-T | ISO/IEC. Although
the value of vps_max_layer_id is required
to be less than 63 in this version of this Specification, decoders shall allow
a value of vps_max_layer_id equal to 63 to
appear in the syntax.

*vps_num_layer_sets_minus1* plus 1 specifies the number of layer sets that are
specified by the VPS. The value of
vps_num_layer_sets_minus1 shall be in the range of 0 to 1023, inclusive.

*vps_num_hrd_parameters* specifies the number of hrd_parameters( ) syntax
structures present in the VPS RBSP before
the vps_extension_flag syntax element. The value of vps_num_hrd_parameters
shall be in the range of 0 to
vps_num_layer_sets_minus1 + 1, inclusive.

*hrd_layer_set_idx[ i ]* specifies the index, into the list of layer sets
specified by the VPS, of the layer set to which the i-th
hrd_parameters( ) syntax structure in the VPS applies. The value of
hrd_layer_set_idx[ i ] shall be in the range of
( vps_base_layer_internal_flag ? 0 : 1 ) to vps_num_layer_sets_minus1,
inclusive.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list