fix: scale args

This commit is contained in:
kieran 2024-11-06 13:45:54 +00:00
parent 69a8e56573
commit cf3ce4348e
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -63,9 +63,9 @@ impl Scaler {
(*frame).width, (*frame).width,
(*frame).height, (*frame).height,
transmute((*frame).format), transmute((*frame).format),
self.width as libc::c_int, width as libc::c_int,
self.height as libc::c_int, height as libc::c_int,
transmute(self.format), transmute(format),
SWS_BILINEAR, SWS_BILINEAR,
ptr::null_mut(), ptr::null_mut(),
ptr::null_mut(), ptr::null_mut(),