AVFilterLink *outlink = inlink->dst->outputs[0];
AVFrame *out;
int i, c, w = inlink->w, h = inlink->h;
- const int cw = FF_CEIL_RSHIFT(w, priv->pix_desc->log2_chroma_w);
- const int ch = FF_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h);
+ const int cw = AV_CEIL_RSHIFT(w, priv->pix_desc->log2_chroma_w);
+ const int ch = AV_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h);
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
if (!out) {