diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-22 05:50:46 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-22 05:50:46 +0800 |
commit | f900a9ae67c61b3e53c36c119440cbc3710a2f7c (patch) | |
tree | 341a78d70c88e414f501a4023318ceabb338d6ec /indra/llimagej2coj/llimagej2coj.cpp | |
parent | c06c7e0b0eb4b7a7aaa70a3559b08b18c73aea17 (diff) | |
parent | 060bebcd3cbb5fbf6045bd777364947a2d8963d3 (diff) |
Merge branch 'main' into 2025.04
Diffstat (limited to 'indra/llimagej2coj/llimagej2coj.cpp')
-rw-r--r-- | indra/llimagej2coj/llimagej2coj.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index 1c6b9e423c..04b527d783 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -28,9 +28,9 @@ #include "llimagej2coj.h" // this is defined so that we get static linking. -#include <openjpeg/openjpeg.h> -#include <openjpeg/event.h> -#include <openjpeg/cio.h> +#include <openjpeg-2.5/openjpeg.h> +#include <openjpeg-2.5/event.h> +#include <openjpeg-2.5/cio.h> #define MAX_ENCODED_DISCARD_LEVELS 5 @@ -617,6 +617,7 @@ 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; |