[FFmpeg-devel] [PATCH 2/2] kgv1dec: remove unused avctx from codec private context
Paul B Mahol
onemda at gmail.com
Fri Aug 30 15:19:20 CEST 2013
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
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;
--
1.7.11.2
More information about the ffmpeg-devel
mailing list