Commit 9a2dbfde authored by Paul B Mahol's avatar Paul B Mahol Committed by Kieran Kunhya

avcodec/msrle: remove unused items

parent 42e2319b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment