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
ca2420c0
Commit
ca2420c0
authored
Nov 22, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Allow ICInfo to enumerate codecs when fccType is zero.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
90e4ad3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+2
-2
msvfw.c
dlls/msvfw32/tests/msvfw.c
+0
-1
No files found.
dlls/msvfw32/msvideo_main.c
View file @
ca2420c0
...
...
@@ -248,7 +248,7 @@ static BOOL enum_drivers(DWORD fccType, enum_handler_t handler, void* param)
lRet
=
RegEnumValueA
(
hKey
,
i
++
,
buf
,
&
name
,
0
,
&
type
,
(
LPBYTE
)(
buf
+
name
),
&
data
);
if
(
lRet
==
ERROR_NO_MORE_ITEMS
)
break
;
if
(
lRet
!=
ERROR_SUCCESS
)
continue
;
if
(
name
!=
9
||
strncasecmp
(
buf
,
fccTypeStr
,
5
))
continue
;
if
(
fccType
&&
(
name
!=
9
||
strncasecmp
(
buf
,
fccTypeStr
,
5
)
))
continue
;
buf
[
name
]
=
'='
;
if
((
result
=
handler
(
buf
,
cnt
++
,
param
)))
break
;
}
...
...
@@ -262,7 +262,7 @@ static BOOL enum_drivers(DWORD fccType, enum_handler_t handler, void* param)
for
(
s
=
buf
;
*
s
;
s
+=
strlen
(
s
)
+
1
)
{
TRACE
(
"got %s
\n
"
,
s
);
if
(
strncasecmp
(
s
,
fccTypeStr
,
5
)
||
s
[
9
]
!=
'='
)
continue
;
if
(
fccType
&&
(
strncasecmp
(
s
,
fccTypeStr
,
5
)
||
s
[
9
]
!=
'='
)
)
continue
;
if
((
result
=
handler
(
s
,
cnt
++
,
param
)))
break
;
}
}
...
...
dlls/msvfw32/tests/msvfw.c
View file @
ca2420c0
...
...
@@ -318,7 +318,6 @@ todo_wine
"ICInfo failed on fcc 0x%08x using uppercase fccHandler
\n
"
,
info
.
fccHandler
);
}
}
todo_wine
ok
(
found
!=
0
,
"expected at least one codec
\n
"
);
}
...
...
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