mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avfilter: use av_clip_uintp2_c where clip is variable
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user