Mercurial > libavcodec.hg
changeset 1940:2511d3e4513e libavcodec
t/dprintf printf -> av_log
author | michael |
---|---|
date | Fri, 16 Apr 2004 01:29:35 +0000 |
parents | 71fe2180024c |
children | 81a1a5be13aa |
files | common.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Fri Apr 16 01:02:39 2004 +0000 +++ b/common.h Fri Apr 16 01:29:35 2004 +0000 @@ -217,7 +217,7 @@ # 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 @@ #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(...) {}