diff options
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) { |