X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fbitstream.h;h=18842702c2eb535033dbe0714007f4602df6f21c;hp=a92b7cfff8cac92eef3f0bad372d75eded7cabec;hb=a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af;hpb=01ca9ac3346ced92d6cb4d9fe06233a305424510;ds=inline 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){