[PATCH] msacm32: Fix copy-paste error
Andrew Eikum
aeikum at codeweavers.com
Mon Dec 12 07:42:56 CST 2016
Spotted by Nikolay via Coverity.
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
---
dlls/msacm32/pcmconverter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msacm32/pcmconverter.c b/dlls/msacm32/pcmconverter.c
index 47861d8..70ec62f 100644
--- a/dlls/msacm32/pcmconverter.c
+++ b/dlls/msacm32/pcmconverter.c
@@ -1154,7 +1154,7 @@ static LRESULT PCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
idx += 4;
break;
case 24:
- if (adsi->pwfxDst->nBlockAlign != 3 * adsi->pwfxSrc->nChannels) {
+ if (adsi->pwfxDst->nBlockAlign != 3 * adsi->pwfxDst->nChannels) {
FIXME("Destination: 24-bit samples must be packed\n");
return MMSYSERR_NOTSUPPORTED;
}
--
2.10.2
More information about the wine-patches
mailing list