gst-plugins-good: ebml: small correction to previous commit
René Stadler
cymacs at kemper.freedesktop.org
Fri Oct 21 01:05:08 PDT 2011
Module: gst-plugins-good
Branch: master
Commit: 5baca05ec38e507352a178b5faf4eed1d85e1479
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=5baca05ec38e507352a178b5faf4eed1d85e1479
Author: René Stadler <rene.stadler at collabora.co.uk>
Date: Fri Oct 21 10:01:43 2011 +0200
ebml: small correction to previous commit
Signal a short read with UNEXPECTED, exactly like the peek_bytes function.
---
gst/matroska/matroska-read-common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c
index 276fa85..5fd178f 100644
--- a/gst/matroska/matroska-read-common.c
+++ b/gst/matroska/matroska-read-common.c
@@ -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;
}
More information about the gstreamer-commits
mailing list