[Bug 755161] h264parse: initialize slice group id earlier

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 17 10:21:56 PDT 2015


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

--- Comment #10 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 311577
  --> https://bugzilla.gnome.org/attachment.cgi?id=311577&action=edit
codecparsers: h26{4,5}: init picture parameter set

When calling gst_h26{4,5}_parse_pps() the function may fail when it calls
gst_h264_parser_get_sps(), leaving unitialized the PPS structure.  This
situation may lead to future problems, such as a segmentation fault, in the
case of H264, when calling gst_h264_pps_clear(), for example.

This patch initializes to zero the PPS structures, either in h264parse and
h265parse before filling them.

-- 
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