Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a67ad095
Commit
a67ad095
authored
Feb 21, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filesource: Correctly initialize the default media type.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
397c15ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
filesource.c
dlls/quartz/filesource.c
+2
-2
filesource.c
dlls/quartz/tests/filesource.c
+0
-2
No files found.
dlls/quartz/filesource.c
View file @
a67ad095
...
...
@@ -623,8 +623,8 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi
This
->
pmt
->
cbFormat
=
0
;
This
->
pmt
->
pbFormat
=
NULL
;
This
->
pmt
->
pUnk
=
NULL
;
This
->
pmt
->
lSampleSize
=
0
;
This
->
pmt
->
formattype
=
FORMAT_None
;
This
->
pmt
->
lSampleSize
=
1
;
This
->
pmt
->
formattype
=
GUID_NULL
;
hr
=
GetClassMediaFile
(
pReader
,
pszFileName
,
&
This
->
pmt
->
majortype
,
&
This
->
pmt
->
subtype
,
NULL
);
if
(
FAILED
(
hr
))
{
...
...
dlls/quartz/tests/filesource.c
View file @
a67ad095
...
...
@@ -237,11 +237,9 @@ static void test_file_source_filter(void)
ok
(
file_mt
.
bFixedSizeSamples
==
TRUE
,
"Got fixed size %d.
\n
"
,
file_mt
.
bFixedSizeSamples
);
ok
(
file_mt
.
bTemporalCompression
==
FALSE
,
"Got temporal compression %d.
\n
"
,
file_mt
.
bTemporalCompression
);
todo_wine
{
ok
(
file_mt
.
lSampleSize
==
1
,
"Got sample size %u.
\n
"
,
file_mt
.
lSampleSize
);
ok
(
IsEqualGUID
(
&
file_mt
.
formattype
,
&
GUID_NULL
),
"Got format type %s.
\n
"
,
wine_dbgstr_guid
(
&
file_mt
.
formattype
));
}
ok
(
!
file_mt
.
pUnk
,
"Got pUnk %p.
\n
"
,
file_mt
.
pUnk
);
ok
(
!
file_mt
.
cbFormat
,
"Got format size %#x.
\n
"
,
file_mt
.
cbFormat
);
ok
(
!
file_mt
.
pbFormat
,
"Got format %p.
\n
"
,
file_mt
.
pbFormat
);
...
...
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