avcodec/vp8: remove redundant check
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 6 Mar 2017 23:53:52 +0000 (00:53 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 7 Mar 2017 18:13:19 +0000 (19:13 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp8.c

index cc15852..fb17ff1 100644 (file)
@@ -2497,8 +2497,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)