mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
vorbisdec: Check for empty tag strings. Fixes #588724
This commit is contained in:
parent
3886a83f0e
commit
47d40c2553
1 changed files with 3 additions and 2 deletions
|
@ -726,8 +726,9 @@ vorbis_handle_comment_packet (GstVorbisDec * vd, ogg_packet * packet)
|
|||
vd->taglist = gst_tag_list_new ();
|
||||
}
|
||||
if (encoder) {
|
||||
gst_tag_list_add (vd->taglist, GST_TAG_MERGE_REPLACE,
|
||||
GST_TAG_ENCODER, encoder, NULL);
|
||||
if (encoder[0])
|
||||
gst_tag_list_add (vd->taglist, GST_TAG_MERGE_REPLACE,
|
||||
GST_TAG_ENCODER, encoder, NULL);
|
||||
g_free (encoder);
|
||||
}
|
||||
gst_tag_list_add (vd->taglist, GST_TAG_MERGE_REPLACE,
|
||||
|
|
Loading…
Reference in a new issue