mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
mpegtsparse: Fix 'variable 'pid' is uninitialized when used here' compiler warning
This commit is contained in:
parent
5f2081e828
commit
0bd9ae0dea
1 changed files with 3 additions and 5 deletions
|
@ -222,11 +222,9 @@ mpegts_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&program_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &program_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"MPEG transport stream parser", "Codec/Parser",
|
||||
|
@ -1041,7 +1039,7 @@ mpegts_parse_apply_pmt (MpegTSParse * parse,
|
|||
MpegTSParseProgram *program;
|
||||
guint program_number;
|
||||
guint pcr_pid;
|
||||
guint pid;
|
||||
guint pid = 0;
|
||||
guint stream_type;
|
||||
GstStructure *stream;
|
||||
gint i;
|
||||
|
|
Loading…
Reference in a new issue