|
|
@@ -45,7 +45,7 @@ static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic, |
|
|
unsigned char rle_code; |
|
|
unsigned char rle_code; |
|
|
unsigned char extra_byte, odd_pixel; |
|
|
unsigned char extra_byte, odd_pixel; |
|
|
unsigned char stream_byte; |
|
|
unsigned char stream_byte; |
|
|
int pixel_ptr = 0; |
|
|
|
|
|
|
|
|
unsigned int pixel_ptr = 0; |
|
|
int row_dec = pic->linesize[0]; |
|
|
int row_dec = pic->linesize[0]; |
|
|
int row_ptr = (avctx->height - 1) * row_dec; |
|
|
int row_ptr = (avctx->height - 1) * row_dec; |
|
|
int frame_size = row_dec * avctx->height; |
|
|
int frame_size = row_dec * avctx->height; |
|
|
|