summaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 2754dca..4821660 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -645,7 +645,7 @@ typedef struct EncBlockInfo {
static always_inline int dv_bits_left(PutBitContext* s)
{
return (s->buf_end - s->buf) * 8 -
- ((s->buf_ptr - s->buf + s->data_out_size) * 8 + 32 - (int64_t)s->bit_left);
+ ((s->buf_ptr - s->buf) * 8 + 32 - (int64_t)s->bit_left);
}
static always_inline void dv_encode_ac(EncBlockInfo* bi, PutBitContext* pb_pool,
OpenPOWER on IntegriCloud