[FFmpeg-cvslog] avcodec/vp8: remove redundant check

Michael Niedermayer git at videolan.org
Tue Mar 7 20:13:43 EET 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Mar  7 00:53:52 2017 +0100| [5098a6f6275a57f122cd8f03e7ffbe5dd090b8e0] | committer: Michael Niedermayer

avcodec/vp8: remove redundant check

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/vp8.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index cc15852..fb17ff1 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -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)



More information about the ffmpeg-cvslog mailing list