Fix acmenc for warning flags

This commit is contained in:
Benjamin Otte 2010-03-21 21:53:44 +01:00
parent f96e4f1581
commit 726894ba61

View file

@ -109,7 +109,7 @@ acmenc_caps_from_format (WAVEFORMATEX * fmt)
(gst_riff_strf_auds *) fmt, NULL, NULL, NULL);
}
gboolean
static gboolean
acmenc_set_input_format (ACMEnc * enc, WAVEFORMATEX * infmt)
{
infmt->wFormatTag = WAVE_FORMAT_PCM;
@ -122,7 +122,7 @@ acmenc_set_input_format (ACMEnc * enc, WAVEFORMATEX * infmt)
return TRUE;
}
BOOL CALLBACK
static BOOL CALLBACK
acmenc_format_enum (HACMDRIVERID driverId, LPACMFORMATDETAILS fd,
DWORD_PTR dwInstance, DWORD fdwSupport)
{
@ -160,7 +160,7 @@ acmenc_format_enum (HACMDRIVERID driverId, LPACMFORMATDETAILS fd,
return TRUE;
}
gboolean
static gboolean
acmenc_set_format (ACMEnc * enc)
{
WAVEFORMATEX *in = NULL;
@ -361,7 +361,7 @@ acmenc_chain (GstPad * pad, GstBuffer * buf)
return ret;
}
GstFlowReturn
static GstFlowReturn
acmenc_finish_stream (ACMEnc * enc)
{
MMRESULT res;