From 25db7df49b624313ce97ebf1a255a80fac3f7c6b Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Thu, 20 Aug 2009 15:39:00 +0100 Subject: 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(-) (limited to 'gst/qtdemux') diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index f9a7eed0..1dd054ad 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; -- cgit