make input pointers const

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Yay295 2022-09-28 07:43:14 -05:00 committed by GitHub
parent 7913850675
commit e0776724b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,8 +415,8 @@ unpackL4IR(UINT8 *out, const UINT8 *in, int pixels) {
static void
unpackLAL(UINT8 *out, const UINT8 *in, int pixels) {
int i;
UINT8 *in1 = in;
UINT8 *in2 = in + pixels;
const UINT8 *in1 = in;
const UINT8 *in2 = in + pixels;
/* LA, line interleaved */
for (i = 0; i < pixels; i++) {
*out++ = *in1++;