summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/matroska/matroska-demux.c7
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', "