[Bug 755161] h264parse, h265parse: initialize picture parameter set structure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 18 03:40:54 PDT 2015


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

--- Comment #13 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 311621
  --> https://bugzilla.gnome.org/attachment.cgi?id=311621&action=edit
codecparser: h264: initialize parsing structures

Initialize to 0 these parse structures before filling them: GstH264SEIMessage,
GstH264NalUnit, GstH264PPS, GstH264SPS and GstH264SliceHdr.

When calling the functions which fill those structures, they may fail, leaving
unitialized those structures. This situation may lead to future problems, such
as a segmentation fault when freeing, for example.

This patch initializes to zero these structures, 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