diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-08-01 17:02:18 +0300 |
---|---|---|
committer | Kieran Kunhya <kierank@obe.tv> | 2019-08-02 18:44:34 +0300 |
commit | 9a2dbfde2e3167cd6f751af38805a1a743eb2470 (patch) | |
tree | cad2caeac4d9a32e7c2e99162edc99fa4015c793 /libavcodec/msrle.c | |
parent | 42e2319ba9b75c3ca55be7f18a0322ecb498ea97 (diff) |
avcodec/msrle: remove unused items
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 5 |
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; |