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
02fa1d4c
Commit
02fa1d4c
authored
Nov 22, 2016
by
Michael Müller
Committed by
Alexandre Julliard
Nov 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Use case insensitive compare in ICInfo for fourcc codes.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ca2420c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+2
-3
msvfw.c
dlls/msvfw32/tests/msvfw.c
+0
-2
No files found.
dlls/msvfw32/msvideo_main.c
View file @
02fa1d4c
...
...
@@ -299,9 +299,8 @@ static BOOL ICInfo_enum_handler(const char *drv, unsigned int nr, void *param)
ICINFO
*
lpicinfo
=
param
;
DWORD
fccHandler
=
mmioStringToFOURCCA
(
drv
+
5
,
0
);
/* exact match of fccHandler or nth driver found */
if
((
lpicinfo
->
fccHandler
!=
nr
)
&&
(
lpicinfo
->
fccHandler
!=
fccHandler
))
return
FALSE
;
if
(
lpicinfo
->
fccHandler
!=
nr
&&
compare_fourcc
(
lpicinfo
->
fccHandler
,
fccHandler
))
return
FALSE
;
lpicinfo
->
fccHandler
=
fccHandler
;
lpicinfo
->
dwFlags
=
0
;
...
...
dlls/msvfw32/tests/msvfw.c
View file @
02fa1d4c
...
...
@@ -306,14 +306,12 @@ static void test_ICInfo(void)
if
(
fcc
[
0
]
&
0x20
)
{
fcc
[
0
]
&=
~
0x20
;
todo_wine
ok
(
ICInfo
(
info
.
fccType
,
info
.
fccHandler
,
&
info2
),
"ICInfo failed on fcc 0x%08x using lowercase fccHandler
\n
"
,
info
.
fccHandler
);
}
else
{
fcc
[
0
]
|=
0x20
;
todo_wine
ok
(
ICInfo
(
info
.
fccType
,
info
.
fccHandler
,
&
info2
),
"ICInfo failed on fcc 0x%08x using uppercase fccHandler
\n
"
,
info
.
fccHandler
);
}
...
...
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