diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-11-09 22:10:43 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-11-09 22:10:43 +0000 |
commit | c47ca25e74bbe465cdc8b99d4f6ab4f0ad5e4229 (patch) | |
tree | 53c03e2fa17603c936aec7f42179a48b7b0e5ab4 /libavcodec/dv.c | |
parent | b1ade3d1821a29174963b28cd0caa5f7ed394998 (diff) | |
download | ffmpeg-c47ca25e74bbe465cdc8b99d4f6ab4f0ad5e4229.tar.gz |
Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.
Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 8fcfb7db56..91b1c80522 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -416,11 +416,6 @@ static const int vs_total_ac_bits = (100 * 4 + 68*2) * 5; /* see dv_88_areas and dv_248_areas for details */ static const int mb_area_start[5] = { 1, 6, 21, 43, 64 }; -static inline int get_bits_left(GetBitContext *s) -{ - return s->size_in_bits - get_bits_count(s); -} - static inline int put_bits_left(PutBitContext* s) { return (s->buf_end - s->buf) * 8 - put_bits_count(s); |