ffmpeg | branch: master | Paul B Mahol <one...@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;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to