diff --git a/ravif/Cargo.toml b/ravif/Cargo.toml index 1f6dd75..689d1bb 100644 --- a/ravif/Cargo.toml +++ b/ravif/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ravif" description = "rav1e-based pure Rust library for encoding images in AVIF format (powers the `cavif` tool)" -version = "0.11.3" +version = "0.11.4" authors = ["Kornel LesiƄski "] edition = "2021" license = "BSD-3-Clause" @@ -14,7 +14,7 @@ include = ["README.md", "LICENSE", "Cargo.toml", "/src/*.rs"] [dependencies] avif-serialize = "0.8.1" -rav1e = { version = "0.6.6", default-features = false, features = ["threading"] } +rav1e = { version = "0.7", default-features = false, features = ["threading"] } rayon = "1.7.0" rgb = "0.8.36" imgref = "1.9.4" diff --git a/ravif/src/av1encoder.rs b/ravif/src/av1encoder.rs index 6e39b23..8d940bb 100644 --- a/ravif/src/av1encoder.rs +++ b/ravif/src/av1encoder.rs @@ -538,7 +538,7 @@ impl SpeedTweaks { if let Some(v) = self.fine_directional_intra { speed_settings.prediction.fine_directional_intra = v; } if let Some(v) = self.complex_prediction_modes { speed_settings.prediction.prediction_modes = if v { PredictionModesSetting::ComplexAll } else { PredictionModesSetting::Simple} }; if let Some((min, max)) = self.partition_range { - assert!(min <= max); + debug_assert!(min <= max); fn sz(s: u8) -> BlockSize { match s { 4 => BlockSize::BLOCK_4X4,