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

master
Pork Chop 2023-02-05 19:18:18 +11:00
parent f41d6250ac
commit b6085fc90e
1 changed files with 0 additions and 1 deletions

View File

@ -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;