[FFmpeg-devel] [PATCH 4/4] avcodec/vp8: remove redundant check

Paul B Mahol onemda at gmail.com
Tue Mar 7 10:20:09 EET 2017


On 3/7/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/vp8.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
> index 8039e7817e..a3d057d62e 100644
> --- a/libavcodec/vp8.c
> +++ b/libavcodec/vp8.c
> @@ -2504,8 +2504,6 @@ int vp78_decode_mb_row_sliced(AVCodecContext *avctx,
> void *tdata, int jobnr,
>
>      td->thread_nr = threadnr;
>      for (mb_y = jobnr; mb_y < s->mb_height; mb_y += num_jobs) {
> -        if (mb_y >= s->mb_height)
> -            break;
>          td->thread_mb_pos = mb_y << 16;
>          ret = s->decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr);
>          if (ret < 0)
> --
> 2.11.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

ok


More information about the ffmpeg-devel mailing list