summaryrefslogtreecommitdiff
path: root/libavcodec/bink.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-05-10 19:22:01 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-05-12 14:17:35 +0800
commit3af73f2c8588283dfaa41cf4465f8fc40549f233 (patch)
tree0f3e6d09be9fbdb7f77aba8fba3470be74be8411 /libavcodec/bink.c
parent00555f4b8b40e52b379b24464a96f94d90432fee (diff)
downloadffmpeg-3af73f2c8588283dfaa41cf4465f8fc40549f233.tar.gz
lavc/bink: Remove the dead code block
Remove the dead code block Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/bink.c')
-rw-r--r--libavcodec/bink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 6673afa789..d0f1b39321 100644
--- a/libavcodec/bink.c
+++ b/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)
return ret;
- if (by == bh)
- break;
dst = frame->data[plane_idx] + 8*by*stride;
prev = (c->last->data[plane_idx] ? c->last->data[plane_idx]
: frame->data[plane_idx]) + 8*by*stride;