From 21f946840260da150affd9a20cc35b3d56194ba6 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Wed, 27 Jan 2016 15:19:38 +0000 Subject: avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis --- libavfilter/vf_pp7.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_pp7.c') diff --git a/libavfilter/vf_pp7.c b/libavfilter/vf_pp7.c index 9e78c39ac7..570a1c90b9 100644 --- a/libavfilter/vf_pp7.c +++ b/libavfilter/vf_pp7.c @@ -328,8 +328,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) qp_table = av_frame_get_qp_table(in, &qp_stride, &pp7->qscale_type); if (!ctx->is_disabled) { - const int cw = FF_CEIL_RSHIFT(inlink->w, pp7->hsub); - const int ch = FF_CEIL_RSHIFT(inlink->h, pp7->vsub); + const int cw = AV_CEIL_RSHIFT(inlink->w, pp7->hsub); + const int ch = AV_CEIL_RSHIFT(inlink->h, pp7->vsub); /* get a new frame if in-place is not possible or if the dimensions * are not multiple of 8 */ -- cgit v1.2.3