avfilter/vf_huesaturation: use the red weight in transform_point()

Found-by: zhang xingxing
This commit is contained in:
zhang xingxing authored and michaelni committed 2026-09-28 03:45:14 +00:00
1 parent 89909a18c1
commit 9578bef90f
1 file changed
-1
-1
View File
@@ -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];