[svn] / branches / dev-api-4 / xvidcore / dshow / src / debug.h Repository:
ViewVC logotype

View of /branches/dev-api-4/xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1345 - (download) (annotate)
Sat Jan 31 13:44:56 2004 UTC (20 years, 1 month ago) by suxen_drol
File size: 378 byte(s)
- 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