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
@ -1449,7 +1449,7 @@ static GstFlowReturn
|
|||||||
gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
|
gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
|
||||||
{
|
{
|
||||||
guint64 length = 0;
|
guint64 length = 0;
|
||||||
guint32 fourcc;
|
guint32 fourcc = 0;
|
||||||
GstBuffer *buf = NULL;
|
GstBuffer *buf = NULL;
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
guint64 cur_offset = qtdemux->offset;
|
guint64 cur_offset = qtdemux->offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user