[FFmpeg-cvslog] avfilter/vf_ciescope: remove dead assignments

Paul B Mahol git at videolan.org
Mon Sep 16 12:49:33 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep 16 11:22:16 2019 +0200| [f70690e8ece81a3f34e105c8cdb4dab16bdc7ce9] | committer: Paul B Mahol

avfilter/vf_ciescope: remove dead assignments

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

 libavfilter/vf_ciescope.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavfilter/vf_ciescope.c b/libavfilter/vf_ciescope.c
index 5a7c3d7b5d..d5a2c8c0ad 100644
--- a/libavfilter/vf_ciescope.c
+++ b/libavfilter/vf_ciescope.c
@@ -1190,15 +1190,11 @@ plot_white_point(uint16_t*      pixels,
     if (cie == LUV) {
         double wup, wvp;
         xy_to_upvp(cs->xWhite, cs->yWhite, &wup, &wvp);
-        wx = wup;
-        wy = wvp;
         wx = (w - 1) * wup;
         wy = (h - 1) - ((int) ((h - 1) * wvp));
     } else if (cie == UCS) {
         double wu, wv;
         xy_to_uv(cs->xWhite, cs->yWhite, &wu, &wv);
-        wx = wu;
-        wy = wv;
         wx = (w - 1) * wu;
         wy = (h - 1) - ((int) ((h - 1) * wv));
     } else if (cie == XYY) {



More information about the ffmpeg-cvslog mailing list