mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msacm32: Check correct variable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0f0fb98498
commit
7493364b4b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue