diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-06-16 11:31:06 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-06-16 11:31:06 +0000 |
commit | 350df6326da8d16dbf516e823cb80a3313bd121a (patch) | |
tree | dec6a1a7118416e0acd6f4e393fdc44f2318b3ff /gst | |
parent | 8c6d2c506a102109339347e039cb38a2047fef40 (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/matroska/matroska-demux.c | 7 |
1 files changed, 2 insertions, 5 deletions
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', " |