[svn] / trunk / xvidcore / dshow / src / debug.c Repository:
ViewVC logotype

View of /trunk/xvidcore/dshow/src/debug.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2018 - (download) (annotate)
Wed Jun 15 19:09:17 2011 UTC (12 years, 9 months ago) by Isibaar
File size: 308 byte(s)
Unicode patch for dshow frontend by Jerker Bäck
#include "debug.h"
#include <stdarg.h>
#include <windows.h>

#include <stdio.h>	/* vsprintf */
#define DPRINTF_BUF_SZ  1024

void OutputDebugStringf(char *fmt, ...)
{
#ifdef _DEBUG
	va_list args;
	char buf[DPRINTF_BUF_SZ];

	va_start(args, fmt);
	vsprintf(buf, fmt, args);
	OutputDebugStringA(buf);
#endif
}

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4