msadp32: Refuse unknown destination format
William Waghorn
willw at litany.me.uk
Tue Mar 17 19:02:37 CDT 2009
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format is
not supported.
---
dlls/msadp32.acm/msadp32.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/msadp32.acm/msadp32.c b/dlls/msadp32.acm/msadp32.c
index 1c0c840..f7b8f8d 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;
--
1.5.6.5
More information about the wine-patches
mailing list