From 9423525122764a6b5ad5e1c4a26ccce9a4c5f84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?= Date: Tue, 10 Oct 2023 11:56:17 +0200 Subject: [PATCH] Remove deprecated OpenJPEG struct member See https://github.com/uclouvain/openjpeg/pull/1383 --- libheif/plugins/encoder_openjpeg.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libheif/plugins/encoder_openjpeg.cc b/libheif/plugins/encoder_openjpeg.cc index dd41f1c0c8..a858e5e1f7 100644 --- a/libheif/plugins/encoder_openjpeg.cc +++ b/libheif/plugins/encoder_openjpeg.cc @@ -483,7 +483,6 @@ struct heif_error opj_encode_image(void* encoder_raw, const struct heif_image* i } component_params[comp].prec = bpp; - component_params[comp].bpp = bpp; component_params[comp].sgnd = 0; component_params[comp].dx = comp == 0 ? 1 : sub_dx; component_params[comp].dy = comp == 0 ? 1 : sub_dy;