Skip to content

Commit

Permalink
Bump dcv-color-primitives to 0.6.1 (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlareFlo authored Nov 3, 2023
1 parent 01c6c99 commit a9451ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ravif = { version = "0.11.0", optional = true }
rgb = { version = "0.8.25", optional = true }
mp4parse = { version = "0.17.0", optional = true }
dav1d = { version = "0.9.4", optional = true }
dcv-color-primitives = { version = "0.5.4", optional = true }
dcv-color-primitives = { version = "0.6.1", optional = true }
color_quant = "1.1"
exr = { version = "1.5.0", optional = true }
qoi = { version = "0.4", optional = true }
Expand Down
2 changes: 0 additions & 2 deletions src/codecs/avif/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ impl<'a, R: 'a + Read> ImageDecoder<'a> for AvifDecoder<R> {
fn read_image(self, buf: &mut [u8]) -> ImageResult<()> {
assert_eq!(u64::try_from(buf.len()), Ok(self.total_bytes()));

dcp::initialize();

if self.picture.pixel_layout() != PixelLayout::I400 {
let pixel_format = match self.picture.pixel_layout() {
PixelLayout::I400 => todo!(),
Expand Down

0 comments on commit a9451ab

Please sign in to comment.