Commit c0426844 authored by Paul B Mahol's avatar Paul B Mahol

kgv1dec: remove unused avctx from codec private context

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 057dce5f
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "internal.h" #include "internal.h"
typedef struct { typedef struct {
AVCodecContext *avctx;
AVFrame *prev; AVFrame *prev;
} KgvContext; } KgvContext;
...@@ -158,7 +157,6 @@ static av_cold int decode_init(AVCodecContext *avctx) ...@@ -158,7 +157,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
{ {
KgvContext * const c = avctx->priv_data; KgvContext * const c = avctx->priv_data;
c->avctx = avctx;
avctx->pix_fmt = AV_PIX_FMT_RGB555; avctx->pix_fmt = AV_PIX_FMT_RGB555;
avctx->flags |= CODEC_FLAG_EMU_EDGE; avctx->flags |= CODEC_FLAG_EMU_EDGE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment