view loader/debug.h @ 32752:5c39b0060c2c

Use mp_dir_join instead of sprintf. This avoids a potential heap overflow and create a cleaner path: no double "//" in the path for example, or even "\\/" on DOS-like systems.
author cboesch
date Tue, 01 Feb 2011 19:22:43 +0000
parents a8ea87c71d18
children
line wrap: on
line source

#ifndef MPLAYER_DEBUG_H
#define MPLAYER_DEBUG_H

#ifdef DEBUG
#define TRACE printf
#define dbg_printf printf
#else
#define TRACE(...)
#define dbg_printf(...)
#endif

#endif /* MPLAYER_DEBUG_H */