summaryrefslogtreecommitdiff
path: root/libavfilter/vf_amplify.c
diff options
context:
space:
mode:
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;
}