summaryrefslogtreecommitdiff
path: root/ext/celt
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-11-25 18:29:31 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-11-25 18:29:31 +0100
commitb8c0b33536b0e74ed4b2b7ccfd508cdde9ba47b4 (patch)
tree18166e0caeed93169463f4387daec2270bc11866 /ext/celt
parent28e000d18e023c79a85ca45660e066b78439511b (diff)
downloadgstreamer-plugins-bad-b8c0b33536b0e74ed4b2b7ccfd508cdde9ba47b4.tar.gz
celtenc: Initialize variable
In the case the tag_setter returns something, empty_tags would be garbage value.
Diffstat (limited to 'ext/celt')
-rw-r--r--ext/celt/gstceltenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c
index fcba67ca3..4fd9ee8d9 100644
--- a/ext/celt/gstceltenc.c
+++ b/ext/celt/gstceltenc.c
@@ -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));