William Waghorn : msadp32: Refuse unknown destination format.

Alexandre Julliard julliard at winehq.org
Mon Mar 23 12:34:47 CDT 2009


Module: wine
Branch: master
Commit: 461a428fe6af541dc46fd2ed71a9245ec76052d0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=461a428fe6af541dc46fd2ed71a9245ec76052d0

Author: William Waghorn <willw at litany.me.uk>
Date:   Tue Mar 17 17:02:37 2009 -0700

msadp32: Refuse unknown destination format.

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;




More information about the wine-cvs mailing list