mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 13:02:29 +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;
|
||||
GstTagList *taglist;
|
||||
GList *cur;
|
||||
guint64 target_type_value;
|
||||
gchar *target_type;
|
||||
guint64 target_type_value = 50;
|
||||
gchar *target_type = NULL;
|
||||
|
||||
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:
|
||||
g_free (target_type);
|
||||
target_type = NULL;
|
||||
target_type_value = 50;
|
||||
ret = gst_matroska_read_common_parse_metadata_targets (common, ebml,
|
||||
edition_targets, chapter_targets, track_targets,
|
||||
&target_type_value, &target_type);
|
||||
|
|
Loading…
Reference in a new issue