Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Sep 19, 2023
1 parent e831f8b commit eb206ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codecs/avif/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl<W: Write> ImageEncoder for AvifEncoder<W> {
) -> ImageResult<()> {
assert_eq!(
(width as u64 * height as u64).saturating_mul(color.bytes_per_pixel() as u64),
buf.len() as u64
data.len() as u64
);

self.set_color(color);
Expand Down

0 comments on commit eb206ea

Please sign in to comment.