]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_ciescope: remove dead assignments
authorPaul B Mahol <onemda@gmail.com>
Mon, 16 Sep 2019 09:22:16 +0000 (11:22 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 16 Sep 2019 09:22:16 +0000 (11:22 +0200)
libavfilter/vf_ciescope.c

index 5a7c3d7b5d87cdd76968fb1eb41d31368757e97d..d5a2c8c0ad6c1efa63a1b294f20ad5ff439d4e04 100644 (file)
@@ -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) {