Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mstr2 committed Oct 16, 2024
1 parent 2b40cf6 commit 60b92b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void doConvert(byte[] srcarr, int srcoff, int srcscanbytes,
int w, int h)
{
srcscanbytes -= w * 3;
srcscanbytes -= w * 4;
dstscanbytes -= w * 3;
while (--h >= 0) {
for (int x = 0; x < w; x++) {
byte b0 = srcarr[srcoff];
Expand All @@ -315,7 +315,7 @@ void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes,
int w, int h)
{
srcscanbytes -= w * 3;
srcscanbytes -= w * 4;
dstscanbytes -= w * 3;
while (--h >= 0) {
for (int x = 0; x < w; x++) {
byte b0 = srcbuf.get(srcoff);
Expand Down

0 comments on commit 60b92b2

Please sign in to comment.