From 461a428fe6af541dc46fd2ed71a9245ec76052d0 Mon Sep 17 00:00:00 2001 From: William Waghorn Date: Tue, 17 Mar 2009 17:02:37 -0700 Subject: [PATCH] msadp32: Refuse unknown destination format. ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format is not supported. --- dlls/msadp32.acm/msadp32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/msadp32.acm/msadp32.c b/dlls/msadp32.acm/msadp32.c index 1c0c840ae83..f7b8f8d2bf7 100644 --- a/dlls/msadp32.acm/msadp32.c +++ b/dlls/msadp32.acm/msadp32.c @@ -512,8 +512,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;