From 3b0da3f92fde9ef08f1d961baf50a13087fc7394 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 26 Mar 2003 10:39:34 +0000 Subject: [PATCH] 10l Originally committed as revision 1706 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/common.h b/libavcodec/common.h index 0f9abbe985..b0ac0b333c 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -822,10 +822,10 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2], int bits #define get_bits(s, n) get_bits_trace(s, n, __FILE__, __PRETTY_FUNCTION__, __LINE__) #define get_bits1(s) get_bits_trace(s, 1, __FILE__, __PRETTY_FUNCTION__, __LINE__) -#define get_vlc(s, vlc) get_vlc_trace(s, vlc->table, vlc->bits, 3, __FILE__, __PRETTY_FUNCTION__, __LINE__) +#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 +#endif //TRACE /* define it to include statistics code (useful only for optimizing codec efficiency */