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_amplify.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_amplify.c')
-rw-r--r-- | libavfilter/vf_amplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_amplify.c b/libavfilter/vf_amplify.c index d1e105ef17..f16267fdcd 100644 --- a/libavfilter/vf_amplify.c +++ b/libavfilter/vf_amplify.c @@ -186,7 +186,7 @@ static int amplify_frame(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs } else { amp = FFMIN(FFABS(diff * factor), hlimit); } - dst[x] = av_clip_uintp2(src + amp, depth); + dst[x] = av_clip_uintp2_c(src + amp, depth); } else { dst[x] = src; } |