Mercurial > mplayer.hg
changeset 3435:7b78672b7ad4
support in dbgprintf for mp_msg (mplayer only)
author | alex |
---|---|
date | Mon, 10 Dec 2001 16:06:10 +0000 |
parents | c85a4768627c |
children | 6ccd793a76c7 |
files | loader/win32.c |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/win32.c Mon Dec 10 15:57:11 2001 +0000 +++ b/loader/win32.c Mon Dec 10 16:06:10 2001 +0000 @@ -180,6 +180,18 @@ va_end(va); } #endif +#ifdef USE_WIN32DLL + #include "../mp_msg.h" + { + char buf[1024]; + va_list va; + + va_start(va, fmt); + vsnprintf((char *)&buf[0], 1023, fmt, va); + mp_dbg(MSGT_WIN32, MSGL_DBG3, (char *)&buf[0]); + va_end(va); + } +#endif }