diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2006-01-08 21:19:39 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2006-01-08 21:19:39 +0000 |
commit | 946c113046350dbf1c2c3757d9fba9a95ac733b2 (patch) | |
tree | 6a9b3a1c37b00fceb583c47bb308f4212f301dd8 /libavcodec/bitstream.h | |
parent | fb9cb0b8c4b7eece5d555ca7dd001bab9b4095fb (diff) | |
download | ffmpeg-946c113046350dbf1c2c3757d9fba9a95ac733b2.tar.gz |
get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
Originally committed as revision 4829 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r-- | libavcodec/bitstream.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index 8e70069fd2..4a3d55d19b 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -790,20 +790,6 @@ void free_vlc(VLC *vlc); 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() |