]> git.sesse.net Git - ffmpeg/commitdiff
lavc/bink: Remove the dead code block
authorJun Zhao <barryjzhao@tencent.com>
Fri, 10 May 2019 11:22:01 +0000 (19:22 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Sun, 12 May 2019 06:17:35 +0000 (14:17 +0800)
Remove the dead code block

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavcodec/bink.c

index 6673afa78949fffefea1d5c7a88772885923f967..d0f1b393217642678d18e43c6e2684c259f0d85e 100644 (file)
@@ -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;