summaryrefslogtreecommitdiff
path: root/indra/llimagej2coj
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-02-02 13:07:57 -0800
committerBrad Linden <brad@lindenlab.com>2023-02-02 13:07:57 -0800
commitbe8c7a42b5378aa86c345386609fbd939fce9007 (patch)
tree9c4346c89140119d05ab942c6f30de79c8127c47 /indra/llimagej2coj
parentdc1dd7a274e1ce49eb68ca525eba7f2e39032fa8 (diff)
Fixups after merge for DRTVWR-559
Diffstat (limited to 'indra/llimagej2coj')
-rw-r--r--indra/llimagej2coj/llimagej2coj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp
index 98500c671b..6c06c6de38 100644
--- a/indra/llimagej2coj/llimagej2coj.cpp
+++ b/indra/llimagej2coj/llimagej2coj.cpp
@@ -169,7 +169,6 @@ static OPJ_SIZE_T opj_write(void * buffer, OPJ_SIZE_T bytes, void* user_data)
static OPJ_OFF_T opj_skip(OPJ_OFF_T bytes, void* user_data)
{
- LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;
JPEG2KBase* jpeg_codec = static_cast<JPEG2KBase*>(user_data);
jpeg_codec->offset += bytes;
@@ -727,6 +726,7 @@ bool LLImageJ2COJ::initDecode(LLImageJ2C &base, LLImageRaw &raw_image, int disca
bool LLImageJ2COJ::initEncode(LLImageJ2C &base, LLImageRaw &raw_image, int blocks_size, int precincts_size, int levels)
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;
// No specific implementation for this method in the OpenJpeg case
return false;
}