ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sun Sep 24 19:28:40 2023 +0200| [9e768c8133b4992c092d615400805b6ba63b5bc6] | committer: Paul B Mahol
avcodec/dxa: use uint8_t for type of arrays > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e768c8133b4992c092d615400805b6ba63b5bc6 --- 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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".