view loader/debug.h @ 33482:7e41f14e7778

Fix segmentation fault when pressing U (stop playing) in GUI. The GUI doesn't make use of playtree_iter, so it can't call the play_tree_iter functions but has to stop in its own way.
author ib
date Tue, 07 Jun 2011 13:17:05 +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 */