Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
83023a9f
Commit
83023a9f
authored
Feb 03, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Constify some static variables.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
91c993bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mfplat.c
dlls/winegstreamer/mfplat.c
+5
-5
wma_decoder.c
dlls/winegstreamer/wma_decoder.c
+2
-2
No files found.
dlls/winegstreamer/mfplat.c
View file @
83023a9f
...
...
@@ -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
[]
=
{
...
...
dlls/winegstreamer/wma_decoder.c
View file @
83023a9f
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment