Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
ed975311
Commit
ed975311
authored
10 months ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Small tweak
parent
03088623
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llimagej2coj/llimagej2coj.cpp
+1
-3
1 addition, 3 deletions
indra/llimagej2coj/llimagej2coj.cpp
with
1 addition
and
3 deletions
indra/llimagej2coj/llimagej2coj.cpp
+
1
−
3
View file @
ed975311
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment