qingdoa daoo : comctl32: Change return code comparison in AVI control.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 14 12:46:15 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 5e18834217e07bf321d46fe0152f18cf4be0e7f3
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=5e18834217e07bf321d46fe0152f18cf4be0e7f3

Author: qingdoa daoo <qingdao33122 at yahoo.com>
Date:   Thu Apr 13 20:56:10 2006 -0700

comctl32: Change return code comparison in AVI control.

---

 dlls/comctl32/animate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
index 3c2c648..229eb25 100644
--- a/dlls/comctl32/animate.c
+++ b/dlls/comctl32/animate.c
@@ -660,7 +660,7 @@ static BOOL ANIMATE_GetAviCodec(ANIMATE_
 	return FALSE;
 
     if (fnIC.fnICSendMessage(infoPtr->hic, ICM_DECOMPRESS_GET_FORMAT,
-		      (DWORD_PTR)infoPtr->inbih, (DWORD_PTR)infoPtr->outbih) != outSize) 
+		      (DWORD_PTR)infoPtr->inbih, (DWORD_PTR)infoPtr->outbih) != ICERR_OK) 
     {
 	WARN("Can't get output BIH\n");
 	return FALSE;




More information about the wine-cvs mailing list