summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-18 07:26:21 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-19 20:37:17 +0100
commit01923579f477ede876c1611844efa970aa928392 (patch)
tree32ca298e0f15f9a4e198f48043d7c6ad1ae601e6 /libavfilter
parent53c8b16c19bfda815ec7bcad3ad3c5548b53d8d5 (diff)
avfilter/vf_huesaturation: Remove dead store
Fixes Coverity issue #1493345. Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_huesaturation.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_huesaturation.c b/libavfilter/vf_huesaturation.c
index af7ea33b9e..d4e3fea1c5 100644
--- a/libavfilter/vf_huesaturation.c
+++ b/libavfilter/vf_huesaturation.c
@@ -297,7 +297,6 @@ static void transform_point(float matrix[4][4],
float *tx, float *ty, float *tz)
{
x = y;
- *tx = x;
*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];