diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-05 10:08:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-05 10:08:48 +0000 |
commit | 95c26348381e0fffd4b2d368bddb5ab694b45938 (patch) | |
tree | 1558b6609cb6792f304a27172bddbe1adec895d2 /libavcodec/common.h | |
parent | 1924f3ce366236b7608ead4a9db454c250346793 (diff) | |
download | ffmpeg-95c26348381e0fffd4b2d368bddb5ab694b45938.tar.gz |
#ifdef TRACE printf() -> tprintf()
Originally committed as revision 1735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |