mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
asfdemux: don't try to free a NULL taglist
This commit is contained in:
parent
6ec0b61980
commit
16a09febbd
1 changed files with 2 additions and 1 deletions
|
@ -2141,7 +2141,8 @@ gst_asf_demux_add_global_tags (GstASFDemux * demux, GstTagList * taglist)
|
|||
}
|
||||
|
||||
t = gst_tag_list_merge (demux->taglist, taglist, GST_TAG_MERGE_APPEND);
|
||||
gst_tag_list_free (demux->taglist);
|
||||
if (demux->taglist)
|
||||
gst_tag_list_free (demux->taglist);
|
||||
gst_tag_list_free (taglist);
|
||||
demux->taglist = t;
|
||||
GST_LOG_OBJECT (demux, "global tags now: %" GST_PTR_FORMAT, demux->taglist);
|
||||
|
|
Loading…
Reference in a new issue