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
2068b95a
Commit
2068b95a
authored
Feb 13, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Set fccType in ICInfo().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3396ca87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+1
-0
msvfw.c
dlls/msvfw32/tests/msvfw.c
+6
-0
No files found.
dlls/msvfw32/msvideo_main.c
View file @
2068b95a
...
...
@@ -303,6 +303,7 @@ static BOOL ICInfo_enum_handler(const char *name, const char *driver, unsigned i
if
(
lpicinfo
->
fccHandler
!=
nr
&&
compare_fourcc
(
lpicinfo
->
fccHandler
,
fccHandler
))
return
FALSE
;
lpicinfo
->
fccType
=
fccType
;
lpicinfo
->
fccHandler
=
fccHandler
;
lpicinfo
->
dwFlags
=
0
;
lpicinfo
->
dwVersion
=
0
;
...
...
dlls/msvfw32/tests/msvfw.c
View file @
2068b95a
...
...
@@ -294,6 +294,7 @@ static void test_ICInfo(void)
for
(
i
=
found
=
0
;
ICInfo
(
0
,
i
,
&
info
);
i
++
)
{
trace
(
"Codec name: %s, fccHandler: 0x%08x
\n
"
,
wine_dbgstr_w
(
info
.
szName
),
info
.
fccHandler
);
ok
(
info
.
fccType
,
"expected nonzero fccType
\n
"
);
ok
(
ICInfo
(
info
.
fccType
,
info
.
fccHandler
,
&
info2
),
"ICInfo failed on fcc 0x%08x
\n
"
,
info
.
fccHandler
);
...
...
@@ -308,6 +309,11 @@ static void test_ICInfo(void)
"ICInfo failed on fcc 0x%08x
\n
"
,
info
.
fccHandler
);
}
ok
(
found
!=
0
,
"expected at least one codec
\n
"
);
memset
(
&
info
,
0
,
sizeof
(
info
));
ok
(
!
ICInfo
(
ICTYPE_VIDEO
,
mmioFOURCC
(
'f'
,
'a'
,
'k'
,
'e'
),
&
info
),
"expected failure
\n
"
);
ok
(
info
.
fccType
==
ICTYPE_VIDEO
,
"got 0x%08x
\n
"
,
info
.
fccType
);
ok
(
info
.
fccHandler
==
mmioFOURCC
(
'f'
,
'a'
,
'k'
,
'e'
),
"got 0x%08x
\n
"
,
info
.
fccHandler
);
}
START_TEST
(
msvfw
)
...
...
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