aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/kgv1dec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-30 13:16:50 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-30 18:24:19 +0000
commitc04268447627e3845b5aea5432b502d457d959f4 (patch)
treeb08d1885ed822c09758147e873c5da814560b31f /libavcodec/kgv1dec.c
parent057dce5f21cd70db1ef6e3b67644a39f0d51aba5 (diff)
downloadffmpeg-c04268447627e3845b5aea5432b502d457d959f4.tar.gz
kgv1dec: remove unused avctx from codec private context
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/kgv1dec.c')
-rw-r--r--libavcodec/kgv1dec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index 9064897276..bf1010f574 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;