summaryrefslogtreecommitdiff
path: root/libavfilter/vf_bm3d.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-13 20:48:08 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-13 20:48:08 +0200
commite320f9576a4d403d8ce088c04be886f6bf1ebe26 (patch)
tree5b837dd43b2cf1bb013e4f1d9f557e7f128e9996 /libavfilter/vf_bm3d.c
parent309c3a0e81be553626711912e90015c26f4b09ba (diff)
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
Diffstat (limited to 'libavfilter/vf_bm3d.c')
-rw-r--r--libavfilter/vf_bm3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c
index 8a5ae70299..75c356728e 100644
--- a/libavfilter/vf_bm3d.c
+++ b/libavfilter/vf_bm3d.c
@@ -688,7 +688,7 @@ static void do_output16(BM3DContext *s, uint8_t *dst, int dst_linesize,
sum_den += den;
}
- dstp[j] = av_clip_uintp2(sum_num / sum_den, depth);
+ dstp[j] = av_clip_uintp2_c(sum_num / sum_den, depth);
}
}
}