MSACM fix
Eric Pouech
eric.pouech at wanadoo.fr
Fri May 10 16:08:39 CDT 2002
this patch fixes a crash when acmFormatEnum enumeration
was stopped before the end of the list
A+
-------------- next part --------------
Name: msacm_enum
ChangeLog: fixed bug in acmFormatTagEnumW
License: X11
GenDate: 2002/05/10 20:34:28 UTC
ModifiedFiles: dlls/msacm/format.c
AddedFiles:
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/msacm/format.c,v
retrieving revision 1.15
diff -u -u -r1.15 format.c
--- dlls/msacm/format.c 26 Mar 2002 19:48:42 -0000 1.15
+++ dlls/msacm/format.c 9 May 2002 19:16:08 -0000
@@ -781,8 +780,8 @@
bPcmDone = TRUE;
}
if (!(fnCallback)((HACMDRIVERID)padid, paftd, dwInstance, padid->fdwSupport)) {
- padid = NULL; /* to exist the two nested for loops */
- break;
+ acmDriverClose(had, 0);
+ return MMSYSERR_NOERROR;
}
}
}
More information about the wine-patches
mailing list