From e320f9576a4d403d8ce088c04be886f6bf1ebe26 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 13 Sep 2018 20:48:08 +0200 Subject: avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable --- libavfilter/vf_bm3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_bm3d.c') 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); } } } -- cgit v1.2.3