PR #24610 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24610
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24610.patch

Found-by: zhang xingxing



>From 4e1fa5d79fafa78a1f7d0b531be7abbb422c7bd9 Mon Sep 17 00:00:00 2001
From: zhang xingxing <[email protected]>
Date: Mon, 21 Sep 2026 06:12:14 +0200
Subject: [PATCH] avfilter/vf_huesaturation: use the red weight in
 transform_point()

Found-by: zhang xingxing
---
 libavfilter/vf_huesaturation.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_huesaturation.c b/libavfilter/vf_huesaturation.c
index 6a4aadeee1..53a2abf86d 100644
--- a/libavfilter/vf_huesaturation.c
+++ b/libavfilter/vf_huesaturation.c
@@ -295,7 +295,6 @@ static void transform_point(float matrix[4][4],
                             float x, float y, float z,
                             float *tx, float *ty, float *tz)
 {
-    x = y;
     *tx = x * matrix[0][0] + y * matrix[1][0] + z * matrix[2][0] + 
matrix[3][0];
     *ty = x * matrix[0][1] + y * matrix[1][1] + z * matrix[2][1] + 
matrix[3][1];
     *tz = x * matrix[0][2] + y * matrix[1][2] + z * matrix[2][2] + 
matrix[3][2];
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to