[MPlayer-cvslog] r30262 - trunk/loader/win32.c

reimar subversion at mplayerhq.hu
Sun Jan 10 16:37:14 CET 2010


Author: reimar
Date: Sun Jan 10 16:37:14 2010
New Revision: 30262

Log:
Avoid excessive fflush in dbgprintf if we didn't even print anything.
Patch by Steinar H. Gunderson [sgunderson bigfoot com]

Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Sun Jan 10 16:31:45 2010	(r30261)
+++ trunk/loader/win32.c	Sun Jan 10 16:37:14 2010	(r30262)
@@ -208,8 +208,8 @@ static inline void dbgprintf(char* fmt, 
 	vprintf(fmt, va);
 //	mp_dbg(MSGT_WIN32, MSGL_DBG3, fmt, va);
 	va_end(va);
+	fflush(stdout);
     }
-  fflush(stdout);
 }
 
 


More information about the MPlayer-cvslog mailing list