From b6085fc90eb6dd5462f3d48d0ad27d6ebc9994d8 Mon Sep 17 00:00:00 2001 From: Pork Chop Date: Sun, 5 Feb 2023 19:18:18 +1100 Subject: [PATCH] Openjpeg: Deprecation warning fix - dont set bpp in cmptparm when calling opj_image_create() as it is deprecated in favor of setting prec instead, remove redundant setting of bpp to squelch the warning --- indra/llimagej2coj/llimagej2coj.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index 4f8aa59c1a..5fbfe65171 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -576,7 +576,6 @@ public: for (S32 c = 0; c < numcomps; c++) { cmptparm[c].prec = 8; - cmptparm[c].bpp = 8; cmptparm[c].sgnd = 0; cmptparm[c].dx = parameters.subsampling_dx; cmptparm[c].dy = parameters.subsampling_dy;