diff --git a/libavfilter/vf_monocomic.c b/libavfilter/vf_monocomic.c index 1b4cb3712f883..16a995f86e470 100644 --- a/libavfilter/vf_monocomic.c +++ b/libavfilter/vf_monocomic.c @@ -222,8 +222,8 @@ static int config_props_input(AVFilterLink *inlink) // get width, height of chroma plane pixdesc = av_pix_fmt_desc_get(inlink->format); - rc->chroma_w = FF_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w); - rc->chroma_h = FF_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); + rc->chroma_w = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w); + rc->chroma_h = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); rc->chroma_dw = (1 << pixdesc->log2_chroma_w); rc->chroma_dh = (1 << pixdesc->log2_chroma_h); diff --git a/libavfilter/vf_yuvrangeconv.c b/libavfilter/vf_yuvrangeconv.c index 39d1f1cb29003..2d7f57089f75a 100644 --- a/libavfilter/vf_yuvrangeconv.c +++ b/libavfilter/vf_yuvrangeconv.c @@ -85,8 +85,8 @@ static int config_props_input(AVFilterLink *inlink) // get width, height of chroma plane pixdesc = av_pix_fmt_desc_get(inlink->format); - rc->chroma_w = FF_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w); - rc->chroma_h = FF_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); + rc->chroma_w = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w); + rc->chroma_h = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); // alias: // 'yuvrangeconv=full:1' same as 'yuvrangeconv=full:autodetect=1'