diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-08 22:16:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-11 23:31:18 +0100 |
commit | fea90e9438b0eaf529b756585b78c579051f1b38 (patch) | |
tree | 9184cb4db9ee392136009d508d5403676e9a6761 /libavcodec/vc1dec.c | |
parent | 32fb9198360402941e49aa878b9d33737b654f62 (diff) | |
download | ffmpeg-fea90e9438b0eaf529b756585b78c579051f1b38.tar.gz |
libavcodec/vc1: Remove bits variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 0a05989635..c526b200b5 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1038,7 +1038,6 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ff_mpeg_er_frame_start(s); - v->bits = FFMIN(buf_size * 8, s->gb.size_in_bits); v->end_mb_x = s->mb_width; if (v->field_mode) { s->current_picture.f->linesize[0] <<= 1; @@ -1114,7 +1113,6 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ff_vc1_decode_blocks(v); if (i != n_slices) { s->gb = slices[i].gb; - v->bits = FFMIN(buf_size * 8, s->gb.size_in_bits); } } if (v->field_mode) { |