From bff15397d3ebff8da33c2997e4c978a9d3e1d3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Mon, 22 Jul 2024 19:16:47 +0200 Subject: [PATCH] chore: Switch to the `image::ImageReader` alias from the deprecated `image::io::Reader` --- core/src/avm2/globals/flash/display3D/textures/atf_jpegxr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm2/globals/flash/display3D/textures/atf_jpegxr.rs b/core/src/avm2/globals/flash/display3D/textures/atf_jpegxr.rs index 8ebacd1b71ff..2538ad3dc901 100644 --- a/core/src/avm2/globals/flash/display3D/textures/atf_jpegxr.rs +++ b/core/src/avm2/globals/flash/display3D/textures/atf_jpegxr.rs @@ -233,7 +233,7 @@ fn jpegxr_to_tiff( .expect("Failed to convert to bitmap"); let image_reader = - image::io::Reader::with_format(Cursor::new(bmp_buffer), image::ImageFormat::Tiff); + image::ImageReader::with_format(Cursor::new(bmp_buffer), image::ImageFormat::Tiff); ( image_reader.decode().expect("Failed to decode Bitmap"), pixel_format,