Module: wine Branch: master Commit: 1debd88ce39b0dc38d8bc601d0f332d65e4219af URL: http://source.winehq.org/git/wine.git/?a=commit;h=1debd88ce39b0dc38d8bc601d0...
Author: William Waghorn willw@litany.me.uk Date: Tue Mar 17 17:02:44 2009 -0700
imaadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format is not supported.
---
dlls/imaadp32.acm/imaadp32.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c index 6174c85..9a2fb53 100644 --- a/dlls/imaadp32.acm/imaadp32.c +++ b/dlls/imaadp32.acm/imaadp32.c @@ -697,8 +697,7 @@ static LRESULT ADPCM_FormatSuggest(PACMDRVFORMATSUGGEST adfs) if (ADPCM_GetFormatIndex(adfs->pwfxDst) == 0xFFFFFFFF) return ACMERR_NOTPOSSIBLE; break; default: - FIXME("\n"); - break; + return ACMERR_NOTPOSSIBLE; }
return MMSYSERR_NOERROR;