mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/msrle: remove unused items
This commit is contained in:
parent
42e2319ba9
commit
9a2dbfde2e
|
@ -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,
|
||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue