Commit 47d40c25 authored by Edward Hervey's avatar Edward Hervey
Browse files

vorbisdec: Check for empty tag strings. Fixes #588724

parent 3886a83f
......@@ -726,6 +726,7 @@ vorbis_handle_comment_packet (GstVorbisDec * vd, ogg_packet * packet)
vd->taglist = gst_tag_list_new ();
}
if (encoder) {
if (encoder[0])
gst_tag_list_add (vd->taglist, GST_TAG_MERGE_REPLACE,
GST_TAG_ENCODER, encoder, NULL);
g_free (encoder);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment