[FFmpeg-cvslog] avfilter/vf_huesaturation: Remove dead store

Andreas Rheinhardt git at videolan.org
Fri Nov 19 22:10:06 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Nov 18 07:26:21 2021 +0100| [01923579f477ede876c1611844efa970aa928392] | committer: Andreas Rheinhardt

avfilter/vf_huesaturation: Remove dead store

Fixes Coverity issue #1493345.

Reviewed-by: Steven Liu <lingjiujianke at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01923579f477ede876c1611844efa970aa928392
---

 libavfilter/vf_huesaturation.c | 1 -
 1 file changed, 1 deletion(-)

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];



More information about the ffmpeg-cvslog mailing list