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
2cfcdc64
Commit
2cfcdc64
authored
May 03, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
May 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Make some wg_format variables static const.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a4201aa6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
h264_decoder.c
dlls/winegstreamer/h264_decoder.c
+2
-2
wma_decoder.c
dlls/winegstreamer/wma_decoder.c
+2
-2
No files found.
dlls/winegstreamer/h264_decoder.c
View file @
2cfcdc64
...
...
@@ -596,7 +596,7 @@ static const IMFTransformVtbl transform_vtbl =
HRESULT
h264_decoder_create
(
REFIID
riid
,
void
**
ret
)
{
struct
wg_format
output_format
=
st
atic
const
st
ruct
wg_format
output_format
=
{
.
major_type
=
WG_MAJOR_TYPE_VIDEO
,
.
u
.
video
=
...
...
@@ -606,7 +606,7 @@ HRESULT h264_decoder_create(REFIID riid, void **ret)
.
height
=
1080
,
},
};
struct
wg_format
input_format
=
{.
major_type
=
WG_MAJOR_TYPE_H264
};
st
atic
const
st
ruct
wg_format
input_format
=
{.
major_type
=
WG_MAJOR_TYPE_H264
};
struct
wg_transform
*
transform
;
struct
h264_decoder
*
decoder
;
...
...
dlls/winegstreamer/wma_decoder.c
View file @
2cfcdc64
...
...
@@ -854,7 +854,7 @@ static const IPropertyBagVtbl property_bag_vtbl =
HRESULT
wma_decoder_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
{
struct
wg_format
output_format
=
st
atic
const
st
ruct
wg_format
output_format
=
{
.
major_type
=
WG_MAJOR_TYPE_AUDIO
,
.
u
.
audio
=
...
...
@@ -865,7 +865,7 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out)
.
rate
=
44100
,
},
};
struct
wg_format
input_format
=
{.
major_type
=
WG_MAJOR_TYPE_WMA
};
st
atic
const
st
ruct
wg_format
input_format
=
{.
major_type
=
WG_MAJOR_TYPE_WMA
};
struct
wg_transform
*
transform
;
struct
wma_decoder
*
decoder
;
...
...
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