Andrew Eikum : msacm32: Fix copy-paste error.
Alexandre Julliard
julliard at winehq.org
Mon Dec 12 16:15:27 CST 2016
Module: wine
Branch: master
Commit: 55fdb039420f89af71275fdb21ce894db6c21ac7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=55fdb039420f89af71275fdb21ce894db6c21ac7
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Mon Dec 12 07:42:56 2016 -0600
msacm32: Fix copy-paste error.
Spotted by Nikolay via Coverity.
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
}
More information about the wine-cvs
mailing list