winegstreamer: Constify some static variables.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
91c993bb78
commit
83023a9f2b
|
@ -437,21 +437,21 @@ HRESULT mfplat_get_class_object(REFCLSID rclsid, REFIID riid, void **obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static WCHAR audio_converterW[] = L"Audio Converter";
|
static WCHAR audio_converterW[] = L"Audio Converter";
|
||||||
static const GUID *audio_converter_supported_types[] =
|
static const GUID *const audio_converter_supported_types[] =
|
||||||
{
|
{
|
||||||
&MFAudioFormat_PCM,
|
&MFAudioFormat_PCM,
|
||||||
&MFAudioFormat_Float,
|
&MFAudioFormat_Float,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WCHAR wma_decoderW[] = L"WMAudio Decoder MFT";
|
static WCHAR wma_decoderW[] = L"WMAudio Decoder MFT";
|
||||||
static const GUID *wma_decoder_input_types[] =
|
static const GUID *const wma_decoder_input_types[] =
|
||||||
{
|
{
|
||||||
&MEDIASUBTYPE_MSAUDIO1,
|
&MEDIASUBTYPE_MSAUDIO1,
|
||||||
&MFAudioFormat_WMAudioV8,
|
&MFAudioFormat_WMAudioV8,
|
||||||
&MFAudioFormat_WMAudioV9,
|
&MFAudioFormat_WMAudioV9,
|
||||||
&MFAudioFormat_WMAudio_Lossless,
|
&MFAudioFormat_WMAudio_Lossless,
|
||||||
};
|
};
|
||||||
static const GUID *wma_decoder_output_types[] =
|
static const GUID *const wma_decoder_output_types[] =
|
||||||
{
|
{
|
||||||
&MFAudioFormat_PCM,
|
&MFAudioFormat_PCM,
|
||||||
&MFAudioFormat_Float,
|
&MFAudioFormat_Float,
|
||||||
|
@ -465,9 +465,9 @@ static const struct mft
|
||||||
const UINT32 flags;
|
const UINT32 flags;
|
||||||
const GUID *major_type;
|
const GUID *major_type;
|
||||||
const UINT32 input_types_count;
|
const UINT32 input_types_count;
|
||||||
const GUID **input_types;
|
const GUID *const *input_types;
|
||||||
const UINT32 output_types_count;
|
const UINT32 output_types_count;
|
||||||
const GUID **output_types;
|
const GUID *const *output_types;
|
||||||
}
|
}
|
||||||
mfts[] =
|
mfts[] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,14 +30,14 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wmadec);
|
WINE_DEFAULT_DEBUG_CHANNEL(wmadec);
|
||||||
|
|
||||||
static const GUID *wma_decoder_input_types[] =
|
static const GUID *const wma_decoder_input_types[] =
|
||||||
{
|
{
|
||||||
&MEDIASUBTYPE_MSAUDIO1,
|
&MEDIASUBTYPE_MSAUDIO1,
|
||||||
&MFAudioFormat_WMAudioV8,
|
&MFAudioFormat_WMAudioV8,
|
||||||
&MFAudioFormat_WMAudioV9,
|
&MFAudioFormat_WMAudioV9,
|
||||||
&MFAudioFormat_WMAudio_Lossless,
|
&MFAudioFormat_WMAudio_Lossless,
|
||||||
};
|
};
|
||||||
static const GUID *wma_decoder_output_types[] =
|
static const GUID *const wma_decoder_output_types[] =
|
||||||
{
|
{
|
||||||
&MFAudioFormat_Float,
|
&MFAudioFormat_Float,
|
||||||
&MFAudioFormat_PCM,
|
&MFAudioFormat_PCM,
|
||||||
|
|
Loading…
Reference in New Issue