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
2b23682d
Commit
2b23682d
authored
Mar 05, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/waveparser: Fill out all members of the source media type.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c0c58761
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
waveparser.c
dlls/quartz/waveparser.c
+4
-1
No files found.
dlls/quartz/waveparser.c
View file @
2b23682d
...
...
@@ -287,10 +287,13 @@ static HRESULT WAVEParser_InputPin_PreConnect(IPin * iface, IPin * pConnectPin,
amt
.
majortype
=
MEDIATYPE_Audio
;
amt
.
formattype
=
FORMAT_WaveFormatEx
;
amt
.
bFixedSizeSamples
=
TRUE
;
amt
.
bTemporalCompression
=
FALSE
;
amt
.
lSampleSize
=
1
;
amt
.
pUnk
=
NULL
;
amt
.
cbFormat
=
max
(
chunk
.
cb
,
sizeof
(
WAVEFORMATEX
));
amt
.
pbFormat
=
CoTaskMemAlloc
(
amt
.
cbFormat
);
memset
(
amt
.
pbFormat
,
0
,
amt
.
cbFormat
);
amt
.
pUnk
=
NULL
;
IAsyncReader_SyncRead
(
This
->
pReader
,
pos
,
chunk
.
cb
,
amt
.
pbFormat
);
amt
.
subtype
=
MEDIATYPE_Audio
;
amt
.
subtype
.
Data1
=
((
WAVEFORMATEX
*
)
amt
.
pbFormat
)
->
wFormatTag
;
...
...
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