ffmpeg | branch: master | Paul B Mahol <[email protected]> | Fri Aug 13 19:14:54 2021 +0200| [96491430c2eee7b31d8409ed4812b09a4b175527] | committer: Paul B Mahol
avcodec/smc: use uint8_t type instead of longer variant > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96491430c2eee7b31d8409ed4812b09a4b175527 --- libavcodec/smc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 704d00859c..c18e7f6555 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -52,9 +52,9 @@ typedef struct SmcContext { GetByteContext gb; /* SMC color tables */ - unsigned char color_pairs[COLORS_PER_TABLE * CPAIR]; - unsigned char color_quads[COLORS_PER_TABLE * CQUAD]; - unsigned char color_octets[COLORS_PER_TABLE * COCTET]; + uint8_t color_pairs[COLORS_PER_TABLE * CPAIR]; + uint8_t color_quads[COLORS_PER_TABLE * CQUAD]; + uint8_t color_octets[COLORS_PER_TABLE * COCTET]; uint32_t pal[256]; } SmcContext; @@ -86,14 +86,14 @@ static int smc_decode_stream(SmcContext *s) int i; int chunk_size; int buf_size = bytestream2_size(&s->gb); - unsigned char opcode; + uint8_t opcode; int n_blocks; unsigned int color_flags; unsigned int color_flags_a; unsigned int color_flags_b; unsigned int flag_mask; - unsigned char * const pixels = s->frame->data[0]; + uint8_t * const pixels = s->frame->data[0]; int image_size = height * s->frame->linesize[0]; int row_ptr = 0; _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
