[FFmpeg-devel] [PATCH 3/6] lavc/bink: Remove the dead code block

Jun Zhao mypopydev at gmail.com
Fri May 10 19:05:51 EEST 2019


From: Jun Zhao <barryjzhao at tencent.com>

Remove the dead code block

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavcodec/bink.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 6673afa..d0f1b39 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;
-- 
1.7.1



More information about the ffmpeg-devel mailing list