[PATCH] Fix to acmFormatEnumW
Eric Pouech
Eric.Pouech at wanadoo.fr
Fri Feb 9 11:59:38 CST 2001
there is also the filter enum function to fix... (it suffers
from the very same cause...; joys of cut & paste)
please use this patch instead (same ChangeLog)
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle
-------------- next part --------------
cvs diff: Diffing dlls/msacm/
Index: dlls/msacm//filter.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/msacm/filter.c,v
retrieving revision 1.6
diff -u -r1.6 filter.c
--- dlls/msacm//filter.c 2001/01/26 20:43:43 1.6
+++ dlls/msacm//filter.c 2001/02/09 17:43:24
@@ -230,8 +230,9 @@
if (acmDriverID(had, &hadid, 0) != MMSYSERR_NOERROR)
return MMSYSERR_INVALHANDLE;
- return MSACM_FilterEnumHelper(MSACM_GetDriverID(hadid), had, pafd,
- fnCallback, dwInstance, fdwEnum);
+ MSACM_FilterEnumHelper(MSACM_GetDriverID(hadid), had, pafd,
+ fnCallback, dwInstance, fdwEnum);
+ return MMSYSERR_NOERROR;
}
for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID) {
/* should check for codec only */
Index: dlls/msacm//format.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/msacm/format.c,v
retrieving revision 1.8
diff -u -r1.8 format.c
--- dlls/msacm//format.c 2001/01/26 20:43:43 1.8
+++ dlls/msacm//format.c 2001/02/09 17:43:04
@@ -498,8 +498,9 @@
if (acmDriverID(had, &hadid, 0) != MMSYSERR_NOERROR)
return MMSYSERR_INVALHANDLE;
- return MSACM_FormatEnumHelper(MSACM_GetDriverID(hadid), had, pafd, &wfxRef,
- fnCallback, dwInstance, fdwEnum);
+ MSACM_FormatEnumHelper(MSACM_GetDriverID(hadid), had, pafd, &wfxRef,
+ fnCallback, dwInstance, fdwEnum);
+ return MMSYSERR_NOERROR;
}
for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID) {
/* should check for codec only */
More information about the wine-patches
mailing list