Commit 39158840 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

matroska: do not return GST_FLOW_OK if we did not get a buffer

Coverity 1139714 (which will likely come back in another guise,
as the _read_init call can have a failing _map)
parent f5a9f5e2
......@@ -2282,6 +2282,8 @@ gst_matroska_parse_take (GstMatroskaParse * parse, guint64 bytes,
gst_ebml_read_init (ebml, GST_ELEMENT_CAST (parse), buffer,
parse->common.offset += bytes;
} else {
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment