Fix clippy lints (#68)

* Specify type params in transmute calls

* Replace legacy numeric methods with constants
This commit is contained in:
FreezyLemon
2024-06-14 17:44:38 +02:00
committed by GitHub
parent 0ad8ef0c66
commit ab0c7549b2
4 changed files with 10 additions and 6 deletions

View File

@ -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(()),