From aec1531847854fcdbf6fe05443072009fb573a79 Mon Sep 17 00:00:00 2001 From: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com> Date: Mon, 16 Dec 2024 04:03:17 -0700 Subject: [PATCH] Fix deprecated code in decenc_openjpeg.c (#565) * Update decenc_openjpeg.c * remove commented out code --- src/decenc_openjpeg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/decenc_openjpeg.c b/src/decenc_openjpeg.c index a1097104..e712aff9 100644 --- a/src/decenc_openjpeg.c +++ b/src/decenc_openjpeg.c @@ -491,7 +491,6 @@ enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, 0, }; cmptparm.prec = (OPJ_UINT32)nbits; - cmptparm.bpp = (OPJ_UINT32)nbits; cmptparm.sgnd = 0; cmptparm.dx = 1; cmptparm.dy = 1;