]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/deshake_opencl.c
Merge commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607'
[ffmpeg] / libavfilter / deshake_opencl.c
index 2821248218ae0488bd2c0233309f87981006dc0a..91ae7d5859b58fb4a6c71b650324d01658d89240 100644 (file)
@@ -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);