X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_fade.c;h=f7b2b6a2384d16e91f2d059d5a54d6c507a30afe;hb=03c1129b20642df4e713b21afd5ee4844b1c409d;hp=040e3fdc53f252faef6c45646b90627c4a0b472b;hpb=d1262262de8402109cd5f1d6c4971d956c99f11e;p=ffmpeg diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 040e3fdc53f..f7b2b6a2384 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -244,8 +244,8 @@ static int filter_slice_chroma(AVFilterContext *ctx, void *arg, int jobnr, FadeContext *s = ctx->priv; AVFrame *frame = arg; int i, j, plane; - const int width = FF_CEIL_RSHIFT(frame->width, s->hsub); - const int height= FF_CEIL_RSHIFT(frame->height, s->vsub); + const int width = AV_CEIL_RSHIFT(frame->width, s->hsub); + const int height= AV_CEIL_RSHIFT(frame->height, s->vsub); int slice_start = (height * jobnr ) / nb_jobs; int slice_end = (height * (jobnr+1)) / nb_jobs;