summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-20 15:39:00 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-09-24 16:29:25 +0100
commit25db7df49b624313ce97ebf1a255a80fac3f7c6b (patch)
treecf9293e3cd39dd5c11192338001acae24be84bd8
parent9da3ed6491693f2a227bcfa10f1598f1f7fad22f (diff)
qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing error message
-rw-r--r--gst/qtdemux/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index f9a7eed00..1dd054ad6 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -1449,7 +1449,7 @@ static GstFlowReturn
gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
{
guint64 length = 0;
- guint32 fourcc;
+ guint32 fourcc = 0;
GstBuffer *buf = NULL;
GstFlowReturn ret = GST_FLOW_OK;
guint64 cur_offset = qtdemux->offset;