mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
celtenc: Initialize variable
In the case the tag_setter returns something, empty_tags would be garbage value.
This commit is contained in:
parent
28e000d18e
commit
b8c0b33536
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ static GstBuffer *
|
||||||
gst_celt_enc_create_metadata_buffer (GstCeltEnc * enc)
|
gst_celt_enc_create_metadata_buffer (GstCeltEnc * enc)
|
||||||
{
|
{
|
||||||
const GstTagList *tags;
|
const GstTagList *tags;
|
||||||
GstTagList *empty_tags;
|
GstTagList *empty_tags = NULL;
|
||||||
GstBuffer *comments = NULL;
|
GstBuffer *comments = NULL;
|
||||||
|
|
||||||
tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (enc));
|
tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (enc));
|
||||||
|
|
Loading…
Reference in a new issue