summaryrefslogtreecommitdiff
path: root/libavfilter/vf_transpose.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_transpose.c')
-rw-r--r--libavfilter/vf_transpose.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
index 3b6e36ad8f..9555ff20c8 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;