mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 13:04:18 +00:00
ebml: small correction to previous commit
Signal a short read with UNEXPECTED, exactly like the peek_bytes function.
This commit is contained in:
parent
4b5f8ff8d1
commit
5baca05ec3
1 changed files with 1 additions and 1 deletions
|
@ -1553,7 +1553,7 @@ gst_matroska_read_common_peek_adapter (GstMatroskaReadCommon * common, guint
|
|||
{
|
||||
*data = gst_adapter_peek (common->adapter, peek);
|
||||
if (*data == NULL)
|
||||
return GST_FLOW_ERROR;
|
||||
return GST_FLOW_UNEXPECTED;
|
||||
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue