imaadp32: Refuse unknown destination format

William Waghorn willw at litany.me.uk
Tue Mar 17 19:02:44 CDT 2009


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;
-- 
1.5.6.5




More information about the wine-patches mailing list