diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-09-13 20:48:08 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-09-13 20:48:08 +0200 |
commit | e320f9576a4d403d8ce088c04be886f6bf1ebe26 (patch) | |
tree | 5b837dd43b2cf1bb013e4f1d9f557e7f128e9996 | |
parent | 309c3a0e81be553626711912e90015c26f4b09ba (diff) | |
download | ffmpeg-e320f9576a4d403d8ce088c04be886f6bf1ebe26.tar.gz |
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
-rw-r--r-- | libavfilter/vf_bm3d.c | 2 |
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); } } } |