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