summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2003-11-26 12:15:57 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2003-11-26 12:15:57 +0000
commite286156c66f2263cc40b341909b9919981b39290 (patch)
tree4d0968b57c150a2799935e6190ed8cf8e4009485
parent94e402ef83be95970f81bc7a5dd50eb190b14ffc (diff)
downloadgstreamer-plugins-base-e286156c66f2263cc40b341909b9919981b39290.tar.gz
Fix a 'vorbistag might be used uninitialised' warning
Original commit message from CVS: Fix a 'vorbistag might be used uninitialised' warning
-rw-r--r--ext/vorbis/vorbisenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c
index 9b37db3a7..7dc9cddb3 100644
--- 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);