summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-30 13:31:06 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-30 18:24:18 +0000
commitea3ce00859218d467b7ca8629e322fec9f641a80 (patch)
treee682feee7177c241ff4f4aa465f29cf443c8fb75 /libavcodec
parent60fed98e63477d68a4637e36b5dae4ed3838f877 (diff)
wnv1: remove unused avctx from codec private context
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/wnv1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index 162dd1f352..60f8a25a22 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -31,8 +31,6 @@
typedef struct WNV1Context {
- AVCodecContext *avctx;
-
int shift;
GetBitContext gb;
} WNV1Context;
@@ -133,10 +131,8 @@ static int decode_frame(AVCodecContext *avctx,
static av_cold int decode_init(AVCodecContext *avctx)
{
- WNV1Context * const l = avctx->priv_data;
static VLC_TYPE code_table[1 << CODE_VLC_BITS][2];
- l->avctx = avctx;
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
code_vlc.table = code_table;