diff options
author | Clément Bœsch <u@pkh.me> | 2018-05-08 12:44:48 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2018-05-08 12:47:38 +0200 |
commit | 8d6354aa8284528d44f23e2d9ca170f4fdecbf2c (patch) | |
tree | 7262874f53338a0a85d79a96a1c9bb5bc58767e3 /libavfilter | |
parent | 6ebc71847e21a8abaf7ff3d902cb1cf63511e7b4 (diff) | |
download | ffmpeg-8d6354aa8284528d44f23e2d9ca170f4fdecbf2c.tar.gz |
lavfi/nlmeans: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFT
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_nlmeans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c index 8b38595632..82e779ce85 100644 --- a/libavfilter/vf_nlmeans.c +++ b/libavfilter/vf_nlmeans.c @@ -289,8 +289,8 @@ static int config_input(AVFilterLink *inlink) const int e = FFMAX(s->research_hsize, s->research_hsize_uv) + FFMAX(s->patch_hsize, s->patch_hsize_uv); - s->chroma_w = FF_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); - s->chroma_h = FF_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); + s->chroma_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); + s->chroma_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); s->nb_planes = av_pix_fmt_count_planes(inlink->format); /* Allocate the integral image with extra edges of thickness "e" |