[FFmpeg-cvslog] avfilter/hue: fix range in comment

Gyan Doshi git at videolan.org
Tue Mar 24 11:36:54 EET 2020


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Tue Mar 24 15:22:52 2020 +0530| [7239254b1da28c1a0d8dff8916edefc98b88775e] | committer: Gyan Doshi

avfilter/hue: fix range in comment

Found-by: Michael Koch
Signed-off-by: Gyan Doshi <ffmpeg at gyani.pro>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7239254b1da28c1a0d8dff8916edefc98b88775e
---

 libavfilter/vf_hue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 026d4b6eec..b75ef21058 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -136,7 +136,7 @@ static inline void create_chrominance_lut(HueContext *h, const int32_t c,
      */
     for (i = 0; i < 256; i++) {
         for (j = 0; j < 256; j++) {
-            /* Normalize the components from range [16;140] to [-112;112] */
+            /* Normalize the components from range [16;240] to [-112;112] */
             u = i - 128;
             v = j - 128;
             /*



More information about the ffmpeg-cvslog mailing list