Commit 571fa21d authored by bcoudurier's avatar bcoudurier

remove useless wrapper func

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13738 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 25b44613
...@@ -271,11 +271,6 @@ static inline int get_bits_left(GetBitContext *s) ...@@ -271,11 +271,6 @@ static inline int get_bits_left(GetBitContext *s)
return s->size_in_bits - get_bits_count(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) static inline int put_bits_left(PutBitContext* s)
{ {
return (s->buf_end - s->buf) * 8 - put_bits_count(s); return (s->buf_end - s->buf) * 8 - put_bits_count(s);
...@@ -284,7 +279,7 @@ static inline int put_bits_left(PutBitContext* s) ...@@ -284,7 +279,7 @@ static inline int put_bits_left(PutBitContext* s)
/* decode ac coefs */ /* decode ac coefs */
static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, DCTELEM *block) 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 *scan_table = mb->scan_table;
const uint8_t *shift_table = mb->shift_table; const uint8_t *shift_table = mb->shift_table;
const int *iweight_table = mb->iweight_table; const int *iweight_table = mb->iweight_table;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment