mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 18:24:45 +03:00
make input pointers const
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
7913850675
commit
e0776724b1
|
@ -415,8 +415,8 @@ unpackL4IR(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
static void
|
static void
|
||||||
unpackLAL(UINT8 *out, const UINT8 *in, int pixels) {
|
unpackLAL(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
int i;
|
int i;
|
||||||
UINT8 *in1 = in;
|
const UINT8 *in1 = in;
|
||||||
UINT8 *in2 = in + pixels;
|
const UINT8 *in2 = in + pixels;
|
||||||
/* LA, line interleaved */
|
/* LA, line interleaved */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
*out++ = *in1++;
|
*out++ = *in1++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user