diff options
author | NRK <nrk@disroot.org> | 2023-10-19 17:26:43 +0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-23 00:10:42 +0000 |
commit | a1f465b582c375ee639e863dd54d9e49aee702ce (patch) | |
tree | 37256421b1d51102ff529637a96059e9b42534e8 /video | |
parent | 05e6813eb2088477ab94607f5a2199da161beb48 (diff) | |
download | mpv-a1f465b582c375ee639e863dd54d9e49aee702ce.tar.bz2 mpv-a1f465b582c375ee639e863dd54d9e49aee702ce.tar.xz |
aspect: remove unused multiplication
the variable `w` is unused as a whole.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/aspect.c | 2 |
1 files changed, 0 insertions, 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) { |