X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavfilter%2Fvf_transpose.c;h=9555ff20c87a795f6ebc2ce8f3cab75efe2dffe8;hb=949d6dd51ce17c6ad62d257022ad9a75bc4cba73;hp=3b6e36ad8fdc92819b12797b0c0f90f7e9996927;hpb=5242cc878a7ac471ab0a8c42bb8945f072765fd6;p=ffmpeg diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index 3b6e36ad8fd..9555ff20c87 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c @@ -152,9 +152,9 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int hsub = plane == 1 || plane == 2 ? s->hsub : 0; int vsub = plane == 1 || plane == 2 ? s->vsub : 0; int pixstep = s->pixsteps[plane]; - int inh = FF_CEIL_RSHIFT(in->height, vsub); - int outw = FF_CEIL_RSHIFT(out->width, hsub); - int outh = FF_CEIL_RSHIFT(out->height, vsub); + int inh = AV_CEIL_RSHIFT(in->height, vsub); + int outw = AV_CEIL_RSHIFT(out->width, hsub); + int outh = AV_CEIL_RSHIFT(out->height, vsub); int start = (outh * jobnr ) / nb_jobs; int end = (outh * (jobnr+1)) / nb_jobs; uint8_t *dst, *src;