diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2016-04-16 09:15:43 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-04-16 09:15:43 +0100 |
commit | 8426bd88c289a1de9e7835176cfb5c9f0b1b614b (patch) | |
tree | df85fe492e82ff4678225296e72e3996e086a0f2 /ext | |
parent | 3734d90ce63252e15a205975cc1cd5e1d523625c (diff) |
amrnbec, mad: fix two more parse function declarations
Diffstat (limited to 'ext')
-rw-r--r-- | ext/amrnb/amrnbdec.c | 4 | ||||
-rw-r--r-- | ext/mad/gstmad.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/amrnb/amrnbdec.c b/ext/amrnb/amrnbdec.c index 1e2225d1..653f1c59 100644 --- a/ext/amrnb/amrnbdec.c +++ b/ext/amrnb/amrnbdec.c @@ -96,8 +96,8 @@ static void gst_amrnbdec_get_property (GObject * object, guint prop_id, static gboolean gst_amrnbdec_start (GstAudioDecoder * dec); static gboolean gst_amrnbdec_stop (GstAudioDecoder * dec); static gboolean gst_amrnbdec_set_format (GstAudioDecoder * dec, GstCaps * caps); -static gboolean gst_amrnbdec_parse (GstAudioDecoder * dec, GstAdapter * adapter, - gint * offset, gint * length); +static GstFlowReturn gst_amrnbdec_parse (GstAudioDecoder * dec, + GstAdapter * adapter, gint * offset, gint * length); static GstFlowReturn gst_amrnbdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer); diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 75884733..55899a5f 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -85,8 +85,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", static gboolean gst_mad_start (GstAudioDecoder * dec); static gboolean gst_mad_stop (GstAudioDecoder * dec); -static gboolean gst_mad_parse (GstAudioDecoder * dec, GstAdapter * adapter, - gint * offset, gint * length); +static GstFlowReturn gst_mad_parse (GstAudioDecoder * dec, + GstAdapter * adapter, gint * offset, gint * length); static GstFlowReturn gst_mad_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer); static void gst_mad_flush (GstAudioDecoder * dec, gboolean hard); |