mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 08:30:05 +03:00
16 bits per iteration
This commit is contained in:
parent
1c5116d43f
commit
8cd86b6362
|
@ -258,7 +258,8 @@ ImagingBcnEncode(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) {
|
|||
UINT8 *dst = buf;
|
||||
|
||||
for (;;) {
|
||||
if (dst + 8 >= bytes + buf) {
|
||||
// Loop writes a max of 16 bytes per iteration
|
||||
if (dst + 16 >= bytes + buf) {
|
||||
break;
|
||||
}
|
||||
if (n == 5) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user