gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_attached_file)

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_attached_file)
Init variable to NULL to avoid compiler warning.
This commit is contained in:
Tim-Philipp Müller 2008-06-16 11:31:06 +00:00
parent 8c6d2c506a
commit 350df6326d
2 changed files with 8 additions and 5 deletions

View file

@ -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:

View file

@ -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', "