Fix clippy lints (#68)
* Specify type params in transmute calls * Replace legacy numeric methods with constants
This commit is contained in:
@ -122,9 +122,9 @@ impl Input {
|
||||
match avformat_seek_file(
|
||||
self.as_mut_ptr(),
|
||||
-1,
|
||||
range.start().cloned().unwrap_or(i64::min_value()),
|
||||
range.start().cloned().unwrap_or(i64::MIN),
|
||||
ts,
|
||||
range.end().cloned().unwrap_or(i64::max_value()),
|
||||
range.end().cloned().unwrap_or(i64::MAX),
|
||||
0,
|
||||
) {
|
||||
s if s >= 0 => Ok(()),
|
||||
|
Reference in New Issue
Block a user