From 7493364b4bffa3563b4f36124b12a29bc59f4e86 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 8 Jun 2017 17:57:12 -0500 Subject: [PATCH] msacm32: Check correct variable. Signed-off-by: Zebediah Figura Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/msacm32/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msacm32/format.c b/dlls/msacm32/format.c index f3c515587a0..e7eab56ad36 100644 --- a/dlls/msacm32/format.c +++ b/dlls/msacm32/format.c @@ -424,7 +424,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD if (pafd->fdwSupport) return MMSYSERR_INVALPARAM; - if (pafd->pwfx->wFormatTag == WAVE_FORMAT_UNKNOWN) + if (pafd->dwFormatTag == WAVE_FORMAT_UNKNOWN) return MMSYSERR_INVALPARAM; switch (fdwDetails) {