Mercurial > libavcodec.hg
diff bitstream.h @ 3024:67d3bb5a4ce1 libavcodec
get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
author | banan |
---|---|
date | Sun, 08 Jan 2006 21:19:39 +0000 |
parents | bfabfdf9ce55 |
children | b9a0ca749833 |
line wrap: on
line diff
--- a/bitstream.h Sun Jan 08 19:31:21 2006 +0000 +++ b/bitstream.h Sun Jan 08 21:19:39 2006 +0000 @@ -790,20 +790,6 @@ SKIP_BITS(name, gb, n)\ } -// deprecated, dont use get_vlc for new code, use get_vlc2 instead or use GET_VLC directly -static inline int get_vlc(GetBitContext *s, VLC *vlc) -{ - int code; - VLC_TYPE (*table)[2]= vlc->table; - - OPEN_READER(re, s) - UPDATE_CACHE(re, s) - - GET_VLC(code, re, s, table, vlc->bits, 3) - - CLOSE_READER(re, s) - return code; -} /** * parses a vlc code, faster then get_vlc()