queries on internals... / more stuff on virtualdub

KiLMoR Zombie tjmichielsen at yahoo.com
Fri Nov 9 11:36:47 CST 2001


Hmm, I noticed that when using VirtualDub, I had the same problem with ACM 
codecs.  I did some detective work and found the problem to be a mistake in 
dlls/msacm/driver.c.  Included is a patch to fix this error.  However, I 
noticed that with this patch, the codecs are found, but for some reason are 
listed many times for each codec!?

 - Travis

Index: dlls/msacm/driver.c
===================================================================
RCS file: /home/wine/wine/dlls/msacm/driver.c,v
retrieving revision 1.13
diff -u -r1.13 driver.c
--- dlls/msacm/driver.c 2001/07/25 00:43:31     1.13
+++ dlls/msacm/driver.c 2001/11/09 16:09:43
@@ -171,7 +171,7 @@

     if (!fnCallback) return MMSYSERR_INVALPARAM;

-    if (fdwEnum && ~(ACM_DRIVERENUMF_NOLOCAL|ACM_DRIVERENUMF_DISABLED))
+    if (fdwEnum & ~(ACM_DRIVERENUMF_NOLOCAL|ACM_DRIVERENUMF_DISABLED))
        return MMSYSERR_INVALFLAG;

     for (padid = MSACM_pFirstACMDriverID; padid; padid = 
padid->pNextACMDriverID) {

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the wine-devel mailing list