Fixed bug in acmFormatTagEnumW.
This commit is contained in:
parent
bf98cf8404
commit
dfbb04df23
|
@ -781,8 +781,8 @@ MMRESULT WINAPI acmFormatTagEnumW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
|
||||||
bPcmDone = TRUE;
|
bPcmDone = TRUE;
|
||||||
}
|
}
|
||||||
if (!(fnCallback)((HACMDRIVERID)padid, paftd, dwInstance, padid->fdwSupport)) {
|
if (!(fnCallback)((HACMDRIVERID)padid, paftd, dwInstance, padid->fdwSupport)) {
|
||||||
padid = NULL; /* to exist the two nested for loops */
|
acmDriverClose(had, 0);
|
||||||
break;
|
return MMSYSERR_NOERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue