]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/hue: fix range in comment
authorGyan Doshi <ffmpeg@gyani.pro>
Tue, 24 Mar 2020 09:34:52 +0000 (15:04 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Tue, 24 Mar 2020 09:34:52 +0000 (15:04 +0530)
Found-by: Michael Koch
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
libavfilter/vf_hue.c

index 026d4b6eecad54633e51f3b38275ad76494ba4e0..b75ef21058786149a9c2f248d493012cd26329a3 100644 (file)
@@ -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;
             /*