[cvs] / xvidcore / dshow / src / debug.h Repository:
ViewVC logotype

View of /xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.2.1 - (download) (annotate)
Sat Jan 31 13:44:33 2004 UTC (20 years, 3 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.1: +23 -0 lines
- configuration from command line; % rundll32 xvid.ax,Configure
- configuration cleanup: moved all processing into config.c/h
(it should be very easy now to re-use the vfw encoder dialogs...)
#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