diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-20 15:39:00 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-09-24 16:29:25 +0100 |
commit | 25db7df49b624313ce97ebf1a255a80fac3f7c6b (patch) | |
tree | cf9293e3cd39dd5c11192338001acae24be84bd8 /gst | |
parent | 9da3ed6491693f2a227bcfa10f1598f1f7fad22f (diff) |
qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing error message
Diffstat (limited to 'gst')
-rw-r--r-- | gst/qtdemux/qtdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |