mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing error message
This commit is contained in:
parent
9da3ed6491
commit
25db7df49b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue