fix: scale args
This commit is contained in:
@ -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(),
|
||||||
|
Reference in New Issue
Block a user