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:
94e402e
)
Fix a 'vorbistag might be used uninitialised' warning
author
Jan Schmidt
<thaytan@mad.scientist.com>
Wed, 26 Nov 2003 12:15:57 +0000
(12:15 +0000)
committer
Jan Schmidt
<thaytan@mad.scientist.com>
Wed, 26 Nov 2003 12:15:57 +0000
(12:15 +0000)
Original commit message from CVS:
Fix a 'vorbistag might be used uninitialised' warning
ext/vorbis/vorbisenc.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/vorbisenc.c
b/ext/vorbis/vorbisenc.c
index
9b37db3
..
7dc9cdd
100644
(file)
--- a/
ext/vorbis/vorbisenc.c
+++ b/
ext/vorbis/vorbisenc.c
@@
-474,7
+474,8
@@
gst_vorbisenc_init (VorbisEnc * vorbisenc)
static void
gst_vorbisenc_metadata_set1 (const GstTagList *list, const gchar *tag, gpointer vorbisenc)
{
- gchar *vorbistag, *vorbisvalue;
+ gchar *vorbistag = NULL;
+ gchar *vorbisvalue = NULL;
guint i, count;
VorbisEnc *enc = GST_VORBISENC (vorbisenc);