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
2fd8388c
Commit
2fd8388c
authored
Feb 12, 2001
by
James Hatheway
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
acmDriverEnumW shouldn't return MMSYSERR_ERROR if
acmDriverEnumCallback returns TRUE.
parent
d2b850e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
filter.c
dlls/msacm/filter.c
+2
-1
format.c
dlls/msacm/format.c
+2
-1
No files found.
dlls/msacm/filter.c
View file @
2fd8388c
...
@@ -230,8 +230,9 @@ MMRESULT WINAPI acmFilterEnumW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
...
@@ -230,8 +230,9 @@ MMRESULT WINAPI acmFilterEnumW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
if
(
acmDriverID
(
had
,
&
hadid
,
0
)
!=
MMSYSERR_NOERROR
)
if
(
acmDriverID
(
had
,
&
hadid
,
0
)
!=
MMSYSERR_NOERROR
)
return
MMSYSERR_INVALHANDLE
;
return
MMSYSERR_INVALHANDLE
;
return
MSACM_FilterEnumHelper
(
MSACM_GetDriverID
(
hadid
),
had
,
pafd
,
MSACM_FilterEnumHelper
(
MSACM_GetDriverID
(
hadid
),
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
fnCallback
,
dwInstance
,
fdwEnum
);
return
MMSYSERR_NOERROR
;
}
}
for
(
padid
=
MSACM_pFirstACMDriverID
;
padid
;
padid
=
padid
->
pNextACMDriverID
)
{
for
(
padid
=
MSACM_pFirstACMDriverID
;
padid
;
padid
=
padid
->
pNextACMDriverID
)
{
/* should check for codec only */
/* should check for codec only */
...
...
dlls/msacm/format.c
View file @
2fd8388c
...
@@ -498,8 +498,9 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
...
@@ -498,8 +498,9 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
if
(
acmDriverID
(
had
,
&
hadid
,
0
)
!=
MMSYSERR_NOERROR
)
if
(
acmDriverID
(
had
,
&
hadid
,
0
)
!=
MMSYSERR_NOERROR
)
return
MMSYSERR_INVALHANDLE
;
return
MMSYSERR_INVALHANDLE
;
return
MSACM_FormatEnumHelper
(
MSACM_GetDriverID
(
hadid
),
had
,
pafd
,
&
wfxRef
,
MSACM_FormatEnumHelper
(
MSACM_GetDriverID
(
hadid
),
had
,
pafd
,
&
wfxRef
,
fnCallback
,
dwInstance
,
fdwEnum
);
fnCallback
,
dwInstance
,
fdwEnum
);
return
MMSYSERR_NOERROR
;
}
}
for
(
padid
=
MSACM_pFirstACMDriverID
;
padid
;
padid
=
padid
->
pNextACMDriverID
)
{
for
(
padid
=
MSACM_pFirstACMDriverID
;
padid
;
padid
=
padid
->
pNextACMDriverID
)
{
/* should check for codec only */
/* should check for codec only */
...
...
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