[svn] / branches / release-1_0-branch / xvidcore / dshow / src / debug.h Repository:
ViewVC logotype

View of /branches/release-1_0-branch/xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (download) (annotate)
Mon Mar 22 23:56:55 2004 UTC (20 years, 1 month ago)
File size: 378 byte(s)
This commit was manufactured by cvs2svn to create branch
'release-1_0-branch'.
#ifndef _DSHOW_DEBUG_
#define _DSHOW_DEBUG_

#ifdef _DEBUG
#include <stdio.h>	/* vsprintf */
#define DPRINTF_BUF_SZ  1024
static __inline void
DPRINTF(char *fmt, ...)
{
	va_list args;
	char buf[DPRINTF_BUF_SZ];

	va_start(args, fmt);
	vsprintf(buf, fmt, args);
	OutputDebugString(buf);
}
#else
static __inline void 
DPRINTF(char *fmt, ...) { }
#endif


#endif /* _DSHOW_DEBUG */

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