diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index e54a13b250..ec8faafd36 100644 --- a/libavfilter/vf_hue.c +++ b/libavfilter/vf_hue.c @@ -144,8 +144,8 @@ static inline void create_chrominance_lut(HueContext *h, const int32_t c, new_v = ((s * u) + (c * v) + (1 << 15) + (128 << 16)) >> 16; /* Prevent a potential overflow */ - h->lut_u[i][j] = av_clip_uint8_c(new_u); - h->lut_v[i][j] = av_clip_uint8_c(new_v); + h->lut_u[i][j] = av_clip_uint8(new_u); + h->lut_v[i][j] = av_clip_uint8(new_v); } } }