|
|
|
@@ -30,7 +30,7 @@ |
|
|
|
#include "avcodec.h" |
|
|
|
#include "msrledec.h" |
|
|
|
|
|
|
|
static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic, |
|
|
|
static int msrle_decode_pal4(AVCodecContext *avctx, AVFrame *pic, |
|
|
|
GetByteContext *gb) |
|
|
|
{ |
|
|
|
unsigned char rle_code; |
|
|
|
@@ -128,7 +128,7 @@ static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic, |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, |
|
|
|
static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVFrame *pic, |
|
|
|
int depth, GetByteContext *gb) |
|
|
|
{ |
|
|
|
uint8_t *output, *output_end; |
|
|
|
@@ -243,7 +243,7 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, |
|
|
|
int ff_msrle_decode(AVCodecContext *avctx, AVFrame *pic, |
|
|
|
int depth, GetByteContext *gb) |
|
|
|
{ |
|
|
|
switch(depth){ |
|
|
|
|