celtenc: Initialize variable

In the case the tag_setter returns something, empty_tags would be
garbage value.
This commit is contained in:
Edward Hervey 2010-11-25 18:29:31 +01:00
parent 28e000d18e
commit b8c0b33536

View file

@ -588,7 +588,7 @@ static GstBuffer *
gst_celt_enc_create_metadata_buffer (GstCeltEnc * enc)
{
const GstTagList *tags;
GstTagList *empty_tags;
GstTagList *empty_tags = NULL;
GstBuffer *comments = NULL;
tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (enc));