diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2004-03-14 22:09:58 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-03-14 22:09:58 +0000 |
commit | 380fd6b1b47b74162763fad9afcdc2a7ee061d49 (patch) | |
tree | aefc98ea87614a3a70c05ad9847712e4b5114ede /libavcodec/common.h | |
parent | b51469a0c54b30079eecc4891cc050778f343683 (diff) | |
download | ffmpeg-380fd6b1b47b74162763fad9afcdc2a7ee061d49.tar.gz |
* DV decoder simplifications. Now it looks to be 6% faster. At least
on my desktop.
* Misc. DV cleanups and fixes.
Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index cdbe0f0ba3..169e15e124 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -919,6 +919,11 @@ static inline int get_bits_left(GetBitContext *s) return s->size_in_bits - get_bits_count(s); } +static inline int get_bits_size(GetBitContext *s) +{ + return s->size_in_bits; +} + int check_marker(GetBitContext *s, const char *msg); void align_get_bits(GetBitContext *s); int init_vlc(VLC *vlc, int nb_bits, int nb_codes, |