[FFmpeg-cvslog] avcodec/msrle: remove unused items

Paul B Mahol git at videolan.org
Fri Aug 2 18:44:44 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Aug  1 16:02:18 2019 +0200| [9a2dbfde2e3167cd6f751af38805a1a743eb2470] | committer: Kieran Kunhya

avcodec/msrle: remove unused items

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a2dbfde2e3167cd6f751af38805a1a743eb2470
---

 libavcodec/msrle.c | 5 -----
 1 file changed, 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;
 



More information about the ffmpeg-cvslog mailing list