diff --git a/dlls/msacm/filter.c b/dlls/msacm/filter.c index 40e6d414fcd..02044c99a51 100644 --- a/dlls/msacm/filter.c +++ b/dlls/msacm/filter.c @@ -230,8 +230,9 @@ MMRESULT WINAPI acmFilterEnumW(HACMDRIVER had, PACMFILTERDETAILSW pafd, 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 */ diff --git a/dlls/msacm/format.c b/dlls/msacm/format.c index 716d588f836..fc47b051907 100644 --- a/dlls/msacm/format.c +++ b/dlls/msacm/format.c @@ -498,8 +498,9 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd, 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 */