mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
avfilter/vf_huesaturation: use the red weight in transform_point()
Found-by: zhang xingxing
This commit is contained in:
1 parent
89909a18c1
commit
9578bef90f
1 file changed
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user