mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-13 09:45:27 +00:00
matroskademux: Fix uninitialized variable compiler warning
This commit is contained in:
parent
71fd688ef0
commit
6c635ce64f
1 changed files with 3 additions and 2 deletions
|
@ -2042,8 +2042,8 @@ gst_matroska_read_common_parse_metadata_id_tag (GstMatroskaReadCommon * common,
|
||||||
GArray *chapter_targets, *edition_targets, *track_targets;
|
GArray *chapter_targets, *edition_targets, *track_targets;
|
||||||
GstTagList *taglist;
|
GstTagList *taglist;
|
||||||
GList *cur;
|
GList *cur;
|
||||||
guint64 target_type_value;
|
guint64 target_type_value = 50;
|
||||||
gchar *target_type;
|
gchar *target_type = NULL;
|
||||||
|
|
||||||
DEBUG_ELEMENT_START (common, ebml, "Tag");
|
DEBUG_ELEMENT_START (common, ebml, "Tag");
|
||||||
|
|
||||||
|
@ -2073,6 +2073,7 @@ gst_matroska_read_common_parse_metadata_id_tag (GstMatroskaReadCommon * common,
|
||||||
case GST_MATROSKA_ID_TARGETS:
|
case GST_MATROSKA_ID_TARGETS:
|
||||||
g_free (target_type);
|
g_free (target_type);
|
||||||
target_type = NULL;
|
target_type = NULL;
|
||||||
|
target_type_value = 50;
|
||||||
ret = gst_matroska_read_common_parse_metadata_targets (common, ebml,
|
ret = gst_matroska_read_common_parse_metadata_targets (common, ebml,
|
||||||
edition_targets, chapter_targets, track_targets,
|
edition_targets, chapter_targets, track_targets,
|
||||||
&target_type_value, &target_type);
|
&target_type_value, &target_type);
|
||||||
|
|
Loading…
Reference in a new issue