From 266a2f297e3b7e8311ee1a5f569efa8995fbf952 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 30 Apr 2003 23:59:46 +0000 Subject: [PATCH] Change return code comparison in AVI control (from patch by stanleyg76@yahoo.com). --- dlls/comctl32/animate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index 5d60fab7011..066dfc7cda7 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -657,7 +657,7 @@ static BOOL ANIMATE_GetAviCodec(ANIMATE_INFO *infoPtr) } if (fnIC.fnICSendMessage(infoPtr->hic, ICM_DECOMPRESS_GET_FORMAT, - (DWORD)infoPtr->inbih, (DWORD)infoPtr->outbih) != ICERR_OK) { + (DWORD)infoPtr->inbih, (DWORD)infoPtr->outbih) != outSize) { WARN("Can't get output BIH\n"); return FALSE; }