fix: scale args
This commit is contained in:
parent
69a8e56573
commit
cf3ce4348e
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user