msvfw32: Remove useless and harmful traces from ICDecompress.

Dmitry Timoshkov dmitry at codeweavers.com
Mon May 4 02:02:18 CDT 2009


This patch should fix a crash with +msvideo trace turned on reported
in the bug 18338.
---
 dlls/msvfw32/msvideo_main.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c
index 7483218..962d6ef 100644
--- a/dlls/msvfw32/msvideo_main.c
+++ b/dlls/msvfw32/msvideo_main.c
@@ -680,8 +680,6 @@ DWORD VFWAPIV  ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
 
 	TRACE("(%p,%d,%p,%p,%p,%p)\n",hic,dwFlags,lpbiFormat,lpData,lpbi,lpBits);
 
-	TRACE("lpBits[0] == %x\n",((LPDWORD)lpBits)[0]);
-
 	icd.dwFlags	= dwFlags;
 	icd.lpbiInput	= lpbiFormat;
 	icd.lpInput	= lpData;
@@ -691,8 +689,6 @@ DWORD VFWAPIV  ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
 	icd.ckid	= 0;
 	ret = ICSendMessage(hic,ICM_DECOMPRESS,(DWORD_PTR)&icd,sizeof(ICDECOMPRESS));
 
-	TRACE("lpBits[0] == %x\n",((LPDWORD)lpBits)[0]);
-
 	TRACE("-> %d\n",ret);
 
 	return ret;
-- 
1.6.2.2




More information about the wine-patches mailing list