From 25db7df49b624313ce97ebf1a255a80fac3f7c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 20 Aug 2009 15:39:00 +0100 Subject: [PATCH] qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing error message --- gst/qtdemux/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index f9a7eed000..1dd054ad60 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;