summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-06-28 03:40:35 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-06-28 13:14:12 +0200
commitafe03092dd693d025d43e1620283d8d285c92772 (patch)
treed9719abbd51fb46f0fbbcfb6140c2e98b5ff2a1a /libavcodec/dv.c
parent07c52e2c7c60b087fd023cd9771778973def0b33 (diff)
downloadffmpeg-afe03092dd693d025d43e1620283d8d285c92772.tar.gz
lavc: move put_bits_left in put_bits.h
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 5253b7f88e..f85a65b7ca 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -340,11 +340,6 @@ static av_cold int dvvideo_init_encoder(AVCodecContext *avctx)
static const int vs_total_ac_bits = (100 * 4 + 68*2) * 5;
static const int mb_area_start[5] = { 1, 6, 21, 43, 64 };
-static inline int put_bits_left(PutBitContext* s)
-{
- return (s->buf_end - s->buf) * 8 - put_bits_count(s);
-}
-
#if CONFIG_SMALL
/* Converts run and level (where level != 0) pair into VLC, returning bit size */
static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc)