summaryrefslogtreecommitdiff
path: root/libavcodec/common.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-26 10:39:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-26 10:39:34 +0000
commit3b0da3f92fde9ef08f1d961baf50a13087fc7394 (patch)
tree40d95552f9992251edad4b5dd38b753ee6bfb670 /libavcodec/common.h
parent00df1301bd94437a368fc797de3a42e5d9fcf4d4 (diff)
10l
Originally committed as revision 1706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r--libavcodec/common.h4
1 files 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 */