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

Peter Ross pross at xvid.org
Sat May 11 06:04:16 EEST 2019


On Sat, May 11, 2019 at 12:05:51AM +0800, Jun Zhao wrote:
> 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

looks good. please apply.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190511/d34e7ddb/attachment.sig>


More information about the ffmpeg-devel mailing list