mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dxa: use uint8_t for type of arrays
This commit is contained in:
parent
13a3e2a9b4
commit
9e768c8133
|
@ -45,8 +45,8 @@ typedef struct DxaDecContext {
|
||||||
uint32_t pal[256];
|
uint32_t pal[256];
|
||||||
} DxaDecContext;
|
} DxaDecContext;
|
||||||
|
|
||||||
static const int shift1[6] = { 0, 8, 8, 8, 4, 4 };
|
static const uint8_t shift1[6] = { 0, 8, 8, 8, 4, 4 };
|
||||||
static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
|
static const uint8_t shift2[6] = { 0, 0, 8, 4, 0, 4 };
|
||||||
|
|
||||||
static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst,
|
static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst,
|
||||||
int stride, uint8_t *src, int srcsize, uint8_t *ref)
|
int stride, uint8_t *src, int srcsize, uint8_t *ref)
|
||||||
|
|
Loading…
Reference in New Issue