[Bug 722081] h265parse: Fix segfault when parsing VPS
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jan 14 05:11:03 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=722081
GStreamer | gst-plugins-bad | git
--- Comment #7 from leeduhui <whiterabbit.dhlee at gmail.com> 2014-01-14 13:07:32 UTC ---
I don't think so.
according to 7.4.3.1
---------------------------------------------------------------------------
vps_max_sub_layers_minus1 : plus 1 specifies the maximum number of temporal
sub-layers that may be present in the CVS. The value of
vps_max_sub_layers_minus1 shall be in the range of 0 to 6, inclusive.
---------------------------------------------------------------------------
If we are read 3 bit( vps_max_sub_layers_minus1 ) with 6, plus 1 and array will
be 8 ( 0~ 7 ). so MAX_SUB_LAYER should be 8.
You can find it. ( according to HM1.2 source code )
https://hevc.hhi.fraunhofer.de/trac/hevc/browser/tags/HM-12.1/source/Lib/TLibCommon/TComSlice.h
: 403 ~ 405 line
https://hevc.hhi.fraunhofer.de/trac/hevc/browser/tags/HM-12.1/source/Lib/TLibDecoder/TDecCAVLC.cpp
: 667 line ~
it MAX_TLAYER is 8.
I think, this way is right.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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