summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-09 11:36:58 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-09 11:38:15 +0100
commit43986a661d588a4144a90db2cd7994d4cfc1f6ce (patch)
tree37f93bb19b55115cc3c7c55d76b777a6e5582987
parenta22a566c0bc543e08214a9e40837e76222974464 (diff)
qtdemux: initialize variable to avoid undefined use
-rw-r--r--gst/isomp4/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 5bb948149..2b9053fac 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -6649,7 +6649,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
/* see annex I of the jpeg2000 spec */
GNode *jp2h, *ihdr, *colr, *mjp2, *field, *prefix, *cmap, *cdef;
const guint8 *data;
- const gchar *colorspace;
+ const gchar *colorspace = NULL;
gint ncomp = 0;
guint32 ncomp_map = 0;
gint32 *comp_map = NULL;