From 95c26348381e0fffd4b2d368bddb5ab694b45938 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 5 Apr 2003 10:08:48 +0000 Subject: #ifdef TRACE printf() -> tprintf() Originally committed as revision 1735 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavcodec/common.h') diff --git a/libavcodec/common.h b/libavcodec/common.h index b0ac0b333c..8708d884f5 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -825,7 +825,11 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2], int bits #define get_vlc(s, vlc) get_vlc_trace(s, (vlc)->table, (vlc)->bits, 3, __FILE__, __PRETTY_FUNCTION__, __LINE__) #define get_vlc2(s, tab, bits, max) get_vlc_trace(s, tab, bits, max, __FILE__, __PRETTY_FUNCTION__, __LINE__) -#endif //TRACE +#define tprintf printf + +#else //TRACE +#define tprintf(...) {} +#endif /* define it to include statistics code (useful only for optimizing codec efficiency */ -- cgit v1.2.3