[FFmpeg-cvslog] lavc/bink: Remove the dead code block

Jun Zhao git at videolan.org
Sun May 12 09:53:43 EEST 2019


ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Fri May 10 19:22:01 2019 +0800| [3af73f2c8588283dfaa41cf4465f8fc40549f233] | committer: Jun Zhao

lavc/bink: Remove the dead code block

Remove the dead code block

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3af73f2c8588283dfaa41cf4465f8fc40549f233
---

 libavcodec/bink.c | 2 --
 1 file changed, 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;



More information about the ffmpeg-cvslog mailing list