aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_amplify.c
diff options
context:
space:
mode:
authorJohn Cox <jc@kynesim.co.uk>2018-05-31 16:22:59 +0200
committerPaul B Mahol <onemda@gmail.com>2018-05-31 16:22:59 +0200
commit8d4fc2ea06a7c69efa35b032e3fb2ad853ea3daf (patch)
treec8856148c4f742d1093e593bc8e583b36d7f1e4c /libavfilter/vf_amplify.c
parent1616b1be5a120bfaa0f05982071c74ee9574f65b (diff)
downloadffmpeg-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.c2
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;
}