aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-08-01 16:02:18 +0200
committerKieran Kunhya <kierank@obe.tv>2019-08-02 16:44:34 +0100
commit9a2dbfde2e3167cd6f751af38805a1a743eb2470 (patch)
treecad2caeac4d9a32e7c2e99162edc99fa4015c793
parent42e2319ba9b75c3ca55be7f18a0322ecb498ea97 (diff)
downloadffmpeg-9a2dbfde2e3167cd6f751af38805a1a743eb2470.tar.gz
avcodec/msrle: remove unused items
-rw-r--r--libavcodec/msrle.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 1ab8a41985..61bc02df04 100644
--- a/libavcodec/msrle.c
+++ b/libavcodec/msrle.c
@@ -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;