mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
acmmp3dec: fix warnings
This commit is contained in:
parent
726894ba61
commit
9e399550db
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue