aspect: remove unused multiplication

the variable `w` is unused as a whole.
This commit is contained in:
NRK 2023-10-19 17:26:43 +06:00 committed by Dudemanguy
parent 05e6813eb2
commit a1f465b582
1 changed files with 0 additions and 2 deletions

View File

@ -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) {