[MPlayer-dev-eng] [PATCH] make Win32 loader less verbose
Diego Biurrun
diego at biurrun.de
Tue Apr 13 15:59:27 CEST 2004
Hi!
Here is another patch that silences some loader messages of "moderate"
usefulness by changing printf to dbgprintf. The messages print
FATAL releasing corrupted memory! 0x861a5a8 0x0 (13)
I doubt this is useful for anything except hardcore debugging...
Diego
-------------- next part --------------
Index: loader/win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.87
diff -u -r1.87 win32.c
--- loader/win32.c 27 Mar 2004 13:57:47 -0000 1.87
+++ loader/win32.c 13 Apr 2004 13:54:42 -0000
@@ -403,7 +403,7 @@
if (header->deadbeef != (long) 0xdeadbeef)
{
- printf("FATAL releasing corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
+ dbgprintf("FATAL releasing corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
return 0;
}
@@ -1663,7 +1663,7 @@
{
if (header->deadbeef != 0xdeadbeef)
{
- printf("FATAL found corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
+ dbgprintf("FATAL found corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
break;
}
More information about the MPlayer-dev-eng
mailing list