diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/matroska/matroska-demux.c | 7 |
2 files changed, 8 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2008-06-16 Tim-Philipp Müller <tim.muller at collabora co uk> + + * gst/matroska/matroska-demux.c: + (gst_matroska_demux_parse_attached_file) + Init variable to NULL to avoid compiler warning. + 2008-06-16 Sebastian Dröge <slomo@circular-chaos.org> * gst/matroska/Makefile.am: diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 2a0d0f8b..a7a715ff 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -2567,12 +2567,9 @@ gst_matroska_demux_parse_attached_file (GstMatroskaDemux * demux, } if (filename && mimetype && data && datalen > 0) { - GstBuffer *tagbuffer; - - GstCaps *caps; - GstTagImageType image_type = GST_TAG_IMAGE_TYPE_NONE; - + GstBuffer *tagbuffer = NULL; + GstCaps *caps; gchar *filename_lc = g_utf8_strdown (filename, -1); GST_DEBUG_OBJECT (demux, "Creating tag for attachment with filename '%s', " |