You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
wnv1: remove unused avctx from codec private context
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -31,8 +31,6 @@
|
|||||||
|
|
||||||
|
|
||||||
typedef struct WNV1Context {
|
typedef struct WNV1Context {
|
||||||
AVCodecContext *avctx;
|
|
||||||
|
|
||||||
int shift;
|
int shift;
|
||||||
GetBitContext gb;
|
GetBitContext gb;
|
||||||
} WNV1Context;
|
} WNV1Context;
|
||||||
@@ -133,10 +131,8 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
|
|
||||||
static av_cold int decode_init(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];
|
static VLC_TYPE code_table[1 << CODE_VLC_BITS][2];
|
||||||
|
|
||||||
l->avctx = avctx;
|
|
||||||
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
|
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
|
||||||
|
|
||||||
code_vlc.table = code_table;
|
code_vlc.table = code_table;
|
||||||
|
Reference in New Issue
Block a user