Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jan 5, 2024
1 parent e21beb9 commit d52a658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cavif"
description = "Encodes images in AVIF format (image2avif converter) using a pure-Rust encoder."
version = "1.5.4"
version = "1.5.5"
authors = ["Kornel Lesiński <[email protected]>"]
edition = "2021"
license = "BSD-3-Clause"
Expand All @@ -14,7 +14,7 @@ include = ["README.md", "LICENSE", "Cargo.toml", "/src/*.rs"]
rust-version = "1.64"

[dependencies]
ravif = { version = "0.11.2", path = "./ravif", default-features = false }
ravif = { version = "0.11.3", path = "./ravif", default-features = false }
rayon = "1.7.0"
rgb = "0.8.36"
cocoa_image = { version = "1.0.6", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion ravif/src/av1encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ fn encode_raw_planes<P: rav1e::Pixel + Default>(&self, width: usize, height: usi

#[inline(always)]
fn to_ten(x: u8) -> u16 {
((x as u16) << 2) | ((x as u16) >> 6)
(u16::from(x) << 2) | (u16::from(x) >> 6)
}

#[inline(always)]
Expand Down

0 comments on commit d52a658

Please sign in to comment.