diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-04-09 12:02:55 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-04-09 12:02:55 +0000 |
commit | 0db4cb524f09149c85f6ab826fa1646a3c7c40d7 (patch) | |
tree | 28e8b3f91287623f0df61d97db5950b8f9753558 /gst/matroska/ebml-read.c | |
parent | 0525a5d213bdf3bdb476888c2af8e2bffd1f48d8 (diff) |
gst/matroska/: Fix the Forte build by making function declaration signatures match the implementations.
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_seek):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop):
Fix the Forte build by making function declaration signatures
match the implementations.
Diffstat (limited to 'gst/matroska/ebml-read.c')
-rw-r--r-- | gst/matroska/ebml-read.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c index 5cff520c..85f0e50d 100644 --- a/gst/matroska/ebml-read.c +++ b/gst/matroska/ebml-read.c @@ -39,9 +39,9 @@ static GstStateChangeReturn gst_ebml_read_change_state (GstElement * element, GstStateChange transition); /* convenience functions */ -static gboolean gst_ebml_read_peek_bytes (GstEbmlRead * ebml, guint size, +static GstFlowReturn gst_ebml_read_peek_bytes (GstEbmlRead * ebml, guint size, GstBuffer ** p_buf, guint8 ** bytes); -static gboolean gst_ebml_read_pull_bytes (GstEbmlRead * ebml, guint size, +static GstFlowReturn gst_ebml_read_pull_bytes (GstEbmlRead * ebml, guint size, GstBuffer ** p_buf, guint8 ** bytes); @@ -447,15 +447,15 @@ gst_ebml_read_get_length (GstEbmlRead * ebml) * Seek to a given offset. */ -gboolean +GstFlowReturn gst_ebml_read_seek (GstEbmlRead * ebml, guint64 offset) { if (offset >= gst_ebml_read_get_length (ebml)) - return FALSE; + return GST_FLOW_UNEXPECTED; ebml->offset = offset; - return TRUE; + return GST_FLOW_OK; } /* |