diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
commit | a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af (patch) | |
tree | bcdd4339c89f27f9d948a299c11234cd37dd29f1 /libavcodec/bitstream.h | |
parent | 01ca9ac3346ced92d6cb4d9fe06233a305424510 (diff) | |
download | ffmpeg-a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af.tar.gz |
Supply context to tprintf
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r-- | libavcodec/bitstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index a92b7cfff8..18842702c2 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -938,10 +938,10 @@ static inline int get_xbits_trace(GetBitContext *s, int n, char *file, const cha #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(...) av_log(NULL, AV_LOG_DEBUG, __VA_ARGS__) +#define tprintf(p, ...) av_log(p, AV_LOG_DEBUG, __VA_ARGS__) #else //TRACE -#define tprintf(...) {} +#define tprintf(p, ...) {} #endif static inline int decode012(GetBitContext *gb){ |