X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fdeshake_opencl.c;h=91ae7d5859b58fb4a6c71b650324d01658d89240;hb=43c0298208ad6fe36a4dbf03824842d89c3ed143;hp=2821248218ae0488bd2c0233309f87981006dc0a;hpb=e97e2588ca74270a14cc1df5a2576a5ea59b119f;p=ffmpeg diff --git a/libavfilter/deshake_opencl.c b/libavfilter/deshake_opencl.c index 2821248218a..91ae7d5859b 100644 --- a/libavfilter/deshake_opencl.c +++ b/libavfilter/deshake_opencl.c @@ -160,7 +160,7 @@ int ff_opencl_deshake_process_inout_buf(AVFilterContext *ctx, AVFrame *in, AVFra AVFilterLink *link = ctx->inputs[0]; DeshakeContext *deshake = ctx->priv; const int hshift = av_pix_fmt_desc_get(link->format)->log2_chroma_h; - int chroma_height = FF_CEIL_RSHIFT(link->h, hshift); + int chroma_height = AV_CEIL_RSHIFT(link->h, hshift); if ((!deshake->opencl_ctx.cl_inbuf) || (!deshake->opencl_ctx.cl_outbuf)) { deshake->opencl_ctx.in_plane_size[0] = (in->linesize[0] * in->height);