summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-10 19:21:40 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-10 19:21:40 +0000
commit39883fffa775b4d1593fd663e891d313fb577816 (patch)
tree6f1721baf17296f26bd6241e6e3605a8b900f46e /libavcodec/dv.c
parentccec1b69c0395feef6ce4e290d2eb95cc3fc8997 (diff)
downloadffmpeg-39883fffa775b4d1593fd663e891d313fb577816.tar.gz
remove useless wrapper func
Originally committed as revision 13738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index c52387aa10..692ab59d9e 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -271,11 +271,6 @@ 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;
-}
-
static inline int put_bits_left(PutBitContext* s)
{
return (s->buf_end - s->buf) * 8 - put_bits_count(s);
@@ -284,7 +279,7 @@ static inline int put_bits_left(PutBitContext* s)
/* decode ac coefs */
static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, DCTELEM *block)
{
- int last_index = get_bits_size(gb);
+ int last_index = gb->size_in_bits;
const uint8_t *scan_table = mb->scan_table;
const uint8_t *shift_table = mb->shift_table;
const int *iweight_table = mb->iweight_table;