From 83023a9f2b4840a97c5b587a2ba6c2f05a44b7b0 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 3 Feb 2022 18:45:25 -0600 Subject: [PATCH] winegstreamer: Constify some static variables. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/winegstreamer/mfplat.c | 10 +++++----- dlls/winegstreamer/wma_decoder.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c index aa5e60ec116..a111bbe196d 100644 --- a/dlls/winegstreamer/mfplat.c +++ b/dlls/winegstreamer/mfplat.c @@ -437,21 +437,21 @@ HRESULT mfplat_get_class_object(REFCLSID rclsid, REFIID riid, void **obj) } 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_Float, }; 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, &MFAudioFormat_WMAudioV8, &MFAudioFormat_WMAudioV9, &MFAudioFormat_WMAudio_Lossless, }; -static const GUID *wma_decoder_output_types[] = +static const GUID *const wma_decoder_output_types[] = { &MFAudioFormat_PCM, &MFAudioFormat_Float, @@ -465,9 +465,9 @@ static const struct mft const UINT32 flags; const GUID *major_type; const UINT32 input_types_count; - const GUID **input_types; + const GUID *const *input_types; const UINT32 output_types_count; - const GUID **output_types; + const GUID *const *output_types; } mfts[] = { diff --git a/dlls/winegstreamer/wma_decoder.c b/dlls/winegstreamer/wma_decoder.c index 945390f44db..78316059052 100644 --- a/dlls/winegstreamer/wma_decoder.c +++ b/dlls/winegstreamer/wma_decoder.c @@ -30,14 +30,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(wmadec); -static const GUID *wma_decoder_input_types[] = +static const GUID *const wma_decoder_input_types[] = { &MEDIASUBTYPE_MSAUDIO1, &MFAudioFormat_WMAudioV8, &MFAudioFormat_WMAudioV9, &MFAudioFormat_WMAudio_Lossless, }; -static const GUID *wma_decoder_output_types[] = +static const GUID *const wma_decoder_output_types[] = { &MFAudioFormat_Float, &MFAudioFormat_PCM,