diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-16 01:29:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-16 01:29:35 +0000 |
commit | 365e75f89b069b23200c0cedb22eaa1e23076b96 (patch) | |
tree | 4a92d7940facf48601d26f964a51571187ba5f8b /libavcodec/common.h | |
parent | a76078b97f17eab7df9e0187047b3fe39da3212b (diff) | |
download | ffmpeg-365e75f89b069b23200c0cedb22eaa1e23076b96.tar.gz |
t/dprintf printf -> av_log
Originally committed as revision 3019 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index 0b4b1aacfc..a678f2e349 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -217,7 +217,7 @@ inline void dprintf(const char* fmt,...) {} # else # ifdef DEBUG -# define dprintf(fmt,...) printf(fmt, __VA_ARGS__) +# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__) # else # define dprintf(fmt,...) # endif @@ -1061,7 +1061,7 @@ static inline int get_xbits_trace(GetBitContext *s, int n, char *file, char *fun #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__) -#define tprintf printf +#define tprintf(...) av_log(NULL, AV_LOG_DEBUG, __VA_ARGS__) #else //TRACE #define tprintf(...) {} |