diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-06-29 14:50:06 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-06-29 14:52:37 +0200 |
commit | cca982ee018aad54214e94f2a0a5921c8bbf1328 (patch) | |
tree | 4c88421274000dedbd9f981ecd409a9dd8709754 | |
parent | 4cfcfb36773ea5aec0f55851cf8527658ec50874 (diff) | |
download | ffmpeg-cca982ee018aad54214e94f2a0a5921c8bbf1328.tar.gz |
avfilter/vf_colorbalance: remove wrong addition
-rw-r--r-- | libavfilter/vf_colorbalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c index 56f9d5c49c..cc90dc08c7 100644 --- a/libavfilter/vf_colorbalance.c +++ b/libavfilter/vf_colorbalance.c @@ -111,7 +111,7 @@ static float get_component(float v, float l, v += m; v += h; - return av_clipf(v + 0.5f, 0, 1); + return av_clipf(v, 0, 1); } static float hfun(float n, float h, float s, float l) |