mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Fixed a small bug.
This commit is contained in:
parent
9a4bff722f
commit
aea0ec56b2
|
@ -264,7 +264,7 @@ j2ku_graya_la(opj_image_t *in, const JPEG2KTILEINFO *tileinfo,
|
||||||
|
|
||||||
UINT8 byte = j2ku_shift(offset + word, shift);
|
UINT8 byte = j2ku_shift(offset + word, shift);
|
||||||
row[0] = row[1] = row[2] = byte;
|
row[0] = row[1] = row[2] = byte;
|
||||||
row[3] = (unsigned)(aoffset + aword) >> ashift;
|
row[3] = j2ku_shift(aoffset + aword, ashift);
|
||||||
row += 4;
|
row += 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user