From 8863580694665ff33312829209b7aabc41ae1855 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Sun, 24 Sep 2023 19:28:40 +0200
Subject: [PATCH] avcodec/dxa: use uint8_t for type of arrays
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
libavcodec/dxa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -45,8 +45,8 @@ typedef struct DxaDecContext {
uint32_t pal[256];
} DxaDecContext;
-static const int shift1[6] = { 0, 8, 8, 8, 4, 4 };
-static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
+static const uint8_t shift1[6] = { 0, 8, 8, 8, 4, 4 };
+static const uint8_t shift2[6] = { 0, 0, 8, 4, 0, 4 };
static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst,
int stride, uint8_t *src, int srcsize, uint8_t *ref)
--
2.42.0