mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/vp8: remove redundant check
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bde9642268
commit
5098a6f627
|
@ -2497,8 +2497,6 @@ int vp78_decode_mb_row_sliced(AVCodecContext *avctx, void *tdata, int jobnr,
|
||||||
|
|
||||||
td->thread_nr = threadnr;
|
td->thread_nr = threadnr;
|
||||||
for (mb_y = jobnr; mb_y < s->mb_height; mb_y += num_jobs) {
|
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;
|
td->thread_mb_pos = mb_y << 16;
|
||||||
ret = s->decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr);
|
ret = s->decode_mb_row_no_filter(avctx, tdata, jobnr, threadnr);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
Loading…
Reference in New Issue