avcodec/msrle: remove unused items

This commit is contained in:
Paul B Mahol 2019-08-01 16:02:18 +02:00 committed by Kieran Kunhya
parent 42e2319ba9
commit 9a2dbfde2e
1 changed files with 0 additions and 5 deletions

View File

@ -42,8 +42,6 @@ typedef struct MsrleContext {
AVFrame *frame;
GetByteContext gb;
const unsigned char *buf;
int size;
uint32_t pal[256];
} MsrleContext;
@ -92,9 +90,6 @@ static int msrle_decode_frame(AVCodecContext *avctx,
int istride = FFALIGN(avctx->width*avctx->bits_per_coded_sample, 32) / 8;
int ret;
s->buf = buf;
s->size = buf_size;
if (buf_size < 2) //Minimally a end of picture code should be there
return AVERROR_INVALIDDATA;