[FFmpeg-cvslog] kgv1dec: remove unused avctx from codec private context

Paul B Mahol git at videolan.org
Fri Aug 30 20:24:50 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Aug 30 13:16:50 2013 +0000| [c04268447627e3845b5aea5432b502d457d959f4] | committer: Paul B Mahol

kgv1dec: remove unused avctx from codec private context

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/kgv1dec.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index 9064897..bf1010f 100644
--- a/libavcodec/kgv1dec.c
+++ b/libavcodec/kgv1dec.c
@@ -31,7 +31,6 @@
 #include "internal.h"
 
 typedef struct {
-    AVCodecContext *avctx;
     AVFrame *prev;
 } KgvContext;
 
@@ -158,7 +157,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
 {
     KgvContext * const c = avctx->priv_data;
 
-    c->avctx = avctx;
     avctx->pix_fmt = AV_PIX_FMT_RGB555;
     avctx->flags  |= CODEC_FLAG_EMU_EDGE;
 



More information about the ffmpeg-cvslog mailing list