projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e000d
)
celtenc: Initialize variable
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 25 Nov 2010 17:29:31 +0000
(18:29 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 25 Nov 2010 17:29:31 +0000
(18:29 +0100)
In the case the tag_setter returns something, empty_tags would be
garbage value.
ext/celt/gstceltenc.c
patch
|
blob
|
history
diff --git
a/ext/celt/gstceltenc.c
b/ext/celt/gstceltenc.c
index
fcba67c
..
4fd9ee8
100644
(file)
--- 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));