From a1f465b582c375ee639e863dd54d9e49aee702ce Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 19 Oct 2023 17:26:43 +0600 Subject: [PATCH] aspect: remove unused multiplication the variable `w` is unused as a whole. --- video/out/aspect.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/video/out/aspect.c b/video/out/aspect.c index 2e34419118..6e1cd63b02 100644 --- a/video/out/aspect.c +++ b/video/out/aspect.c @@ -31,8 +31,6 @@ static void aspect_calc_panscan(struct mp_vo_opts *opts, int window_w, int window_h, double monitor_par, int *out_w, int *out_h) { - w *= monitor_par; - int fwidth = window_w; int fheight = (float)window_w / d_w * d_h / monitor_par; if (fheight > window_h || fheight < h) {