diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index 1d4f5aea14..f11fa509d1 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -235,8 +235,6 @@ bool LLImageJ2COJ::initEncode(LLImageJ2C &base, LLImageRaw &raw_image, int block bool LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count) { - LLTimer decode_timer; - /* Extract metadata */ /* ---------------- */ U8* c_data = base.getData(); @@ -271,7 +269,7 @@ bool LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod } // extract the comment minus the markers, 00 01 - raw_image.mComment.assign((char*)c_data + position + 6, c_length - 4); + raw_image.mComment.assign((char*)(c_data + position + 6), c_length - 4); break; } ++position;