diff options
author | John Cox <jc@kynesim.co.uk> | 2018-05-31 16:22:59 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-05-31 16:22:59 +0200 |
commit | 8d4fc2ea06a7c69efa35b032e3fb2ad853ea3daf (patch) | |
tree | c8856148c4f742d1093e593bc8e583b36d7f1e4c /libavfilter/vf_fftdnoiz.c | |
parent | 1616b1be5a120bfaa0f05982071c74ee9574f65b (diff) | |
download | ffmpeg-8d4fc2ea06a7c69efa35b032e3fb2ad853ea3daf.tar.gz |
avfilter: use av_clip_uintp2_c where clip is variable
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_fftdnoiz.c')
-rw-r--r-- | libavfilter/vf_fftdnoiz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fftdnoiz.c b/libavfilter/vf_fftdnoiz.c index 05a564e406..7ee7dbc19b 100644 --- a/libavfilter/vf_fftdnoiz.c +++ b/libavfilter/vf_fftdnoiz.c @@ -176,7 +176,7 @@ static void export_row16(FFTComplex *src, uint8_t *dstp, int rw, float scale, in int j; for (j = 0; j < rw; j++) - dst[j] = av_clip_uintp2(src[j].re * scale, depth); + dst[j] = av_clip_uintp2_c(src[j].re * scale, depth); } static int config_input(AVFilterLink *inlink) |