lavc/bink: Remove the dead code block

Remove the dead code block

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
pull/311/head
Jun Zhao 6 years ago
parent 00555f4b8b
commit 3af73f2c85
  1. 2
      libavcodec/bink.c

@ -1046,8 +1046,6 @@ static int bink_decode_plane(BinkContext *c, AVFrame *frame, GetBitContext *gb,
if ((ret = read_runs(c->avctx, gb, &c->bundle[BINK_SRC_RUN])) < 0) if ((ret = read_runs(c->avctx, gb, &c->bundle[BINK_SRC_RUN])) < 0)
return ret; return ret;
if (by == bh)
break;
dst = frame->data[plane_idx] + 8*by*stride; dst = frame->data[plane_idx] + 8*by*stride;
prev = (c->last->data[plane_idx] ? c->last->data[plane_idx] prev = (c->last->data[plane_idx] ? c->last->data[plane_idx]
: frame->data[plane_idx]) + 8*by*stride; : frame->data[plane_idx]) + 8*by*stride;

Loading…
Cancel
Save