summaryrefslogtreecommitdiff
path: root/libavfilter/vf_v360.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-10-24 14:00:49 +0200
committerPaul B Mahol <onemda@gmail.com>2021-10-24 14:08:10 +0200
commit9353d1a60ffbb1031ba36c0a53d0e2085389b601 (patch)
tree4833a496d5823dd421e9d7e68142e19ea339f193 /libavfilter/vf_v360.c
parent682bafdb12507ec8b049ecbbe2e48bf814927002 (diff)
avfilter/vf_v360: replace deprecated FF_CEIL_RSHIFT()
Diffstat (limited to 'libavfilter/vf_v360.c')
-rw-r--r--libavfilter/vf_v360.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index c252a2057a..8a27e0fab2 100644
--- a/libavfilter/vf_v360.c
+++ b/libavfilter/vf_v360.c
@@ -4254,9 +4254,9 @@ static void fov_from_dfov(int format, float d_fov, float w, float h, float *h_fo
static void set_dimensions(int *outw, int *outh, int w, int h, const AVPixFmtDescriptor *desc)
{
- outw[1] = outw[2] = FF_CEIL_RSHIFT(w, desc->log2_chroma_w);
+ outw[1] = outw[2] = AV_CEIL_RSHIFT(w, desc->log2_chroma_w);
outw[0] = outw[3] = w;
- outh[1] = outh[2] = FF_CEIL_RSHIFT(h, desc->log2_chroma_h);
+ outh[1] = outh[2] = AV_CEIL_RSHIFT(h, desc->log2_chroma_h);
outh[0] = outh[3] = h;
}