Attached.
From 8863580694665ff33312829209b7aabc41ae1855 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <one...@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 <one...@gmail.com>
---
 libavcodec/dxa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index 650502ad23..d33ac3c8b0 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to