diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-09-24 19:28:40 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-09-25 19:07:10 +0200 |
commit | 9e768c8133b4992c092d615400805b6ba63b5bc6 (patch) | |
tree | e113f6c84497a98b81c1c558ce85ce4cbe7593b0 | |
parent | 13a3e2a9b4697a1403d3e58eb5e8ef9c72561d54 (diff) | |
download | ffmpeg-9e768c8133b4992c092d615400805b6ba63b5bc6.tar.gz |
avcodec/dxa: use uint8_t for type of arrays
-rw-r--r-- | libavcodec/dxa.c | 4 |
1 files 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) |