diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-21 22:09:20 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-21 22:09:20 +0100 |
commit | 9e399550db3a6bc3bc1f142cda02b83217dfad24 (patch) | |
tree | d60ff3a90a788095176b1c0fa59d1d093ecae353 | |
parent | 726894ba61bf4df20c22b369e7fbaa9d3d70ed0e (diff) |
acmmp3dec: fix warnings
-rw-r--r-- | sys/acmmp3dec/acmmp3dec.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/acmmp3dec/acmmp3dec.c b/sys/acmmp3dec/acmmp3dec.c index d77dcca29..e0fa020ce 100644 --- a/sys/acmmp3dec/acmmp3dec.c +++ b/sys/acmmp3dec/acmmp3dec.c @@ -94,6 +94,8 @@ typedef struct _ACMMP3Dec GstCaps *output_caps; } ACMMP3Dec; +GType acmmp3dec_get_type (void); + GST_BOILERPLATE (ACMMP3Dec, acmmp3dec, GstElement, GST_TYPE_ELEMENT); static GstCaps * @@ -103,7 +105,7 @@ acmmp3dec_caps_from_format (WAVEFORMATEX * fmt) NULL, (gst_riff_strf_auds *) fmt, NULL, NULL, NULL); } -gboolean +static gboolean acmmp3dec_set_input_format (ACMMP3Dec * dec) { dec->infmt.wfx.wFormatTag = WAVE_FORMAT_MPEGLAYER3; @@ -124,7 +126,7 @@ acmmp3dec_set_input_format (ACMMP3Dec * dec) return TRUE; } -gboolean +static gboolean acmmp3dec_set_output_format (ACMMP3Dec * dec) { dec->outfmt.wFormatTag = WAVE_FORMAT_PCM; @@ -319,7 +321,7 @@ done: return ret; } -GstFlowReturn +static GstFlowReturn acmmp3dec_finish_stream (ACMMP3Dec * dec) { MMRESULT res; |