qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing error message

This commit is contained in:
Tim-Philipp Müller 2009-08-20 15:39:00 +01:00
parent 9da3ed6491
commit 25db7df49b

View file

@ -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;