Unified · Split
| @@ -285,7 +285,7 @@ static int remap##ws##_##bits##bit_slice(AVFilterContext *ctx, void *arg, int jo · 284 unmodified lines | |||
| 285 | const int slice_start = (height * jobnr ) / nb_jobs; \ | 285 | const int slice_start = (height * jobnr ) / nb_jobs; \ |
| 286 | const int slice_end = (height * (jobnr + 1)) / nb_jobs; \ | 286 | const int slice_end = (height * (jobnr + 1)) / nb_jobs; \ |
| 287 | \ | 287 | \ |
| 288 | for (int y = slice_start; y < slice_end; y++) { \ | 288 | for (int y = slice_start; y < slice_end && !mask; y++) { \ |
| 289 | const int16_t *const u = s->u[map] + y * uv_linesize * ws * ws; \ | 289 | const int16_t *const u = s->u[map] + y * uv_linesize * ws * ws; \ |
| 290 | const int16_t *const v = s->v[map] + y * uv_linesize * ws * ws; \ | 290 | const int16_t *const v = s->v[map] + y * uv_linesize * ws * ws; \ |
| 291 | const int16_t *const ker = s->ker[map] + y * uv_linesize * ws * ws; \ | 291 | const int16_t *const ker = s->ker[map] + y * uv_linesize * ws * ws; \ |