summaryrefslogtreecommitdiff
path: root/ext/a52dec/gsta52dec.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-04-15 20:46:37 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-04-15 20:46:37 +0100
commit3734d90ce63252e15a205975cc1cd5e1d523625c (patch)
tree3087b7e192816183f660755732cc8229518e27d6 /ext/a52dec/gsta52dec.c
parent36d972e01a75a4cd13be13898b6d9931879c8590 (diff)
a52dec, amrwbec: fix parse function declaration mismatch
Fixes MSVC compiler warning: amrwbdec.c(99): warning C4133: '=': incompatible types - from 'gboolean (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)' to 'GstFlowReturn (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)' gsta52dec.c(156): warning C4133: '=': incompatible types - from 'gboolean (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)' to 'GstFlowReturn (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)'
Diffstat (limited to 'ext/a52dec/gsta52dec.c')
-rw-r--r--ext/a52dec/gsta52dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c
index b84be76f..a7b970c3 100644
--- a/ext/a52dec/gsta52dec.c
+++ b/ext/a52dec/gsta52dec.c
@@ -97,8 +97,8 @@ G_DEFINE_TYPE (GstA52Dec, gst_a52dec, GST_TYPE_AUDIO_DECODER);
static gboolean gst_a52dec_start (GstAudioDecoder * dec);
static gboolean gst_a52dec_stop (GstAudioDecoder * dec);
static gboolean gst_a52dec_set_format (GstAudioDecoder * bdec, GstCaps * caps);
-static gboolean gst_a52dec_parse (GstAudioDecoder * dec, GstAdapter * adapter,
- gint * offset, gint * length);
+static GstFlowReturn gst_a52dec_parse (GstAudioDecoder * dec,
+ GstAdapter * adapter, gint * offset, gint * length);
static GstFlowReturn gst_a52dec_handle_frame (GstAudioDecoder * dec,
GstBuffer * buffer);