vcr1: drop pointless write-only AVCodecContext member from VCR1Context
This commit is contained in:
@@ -28,7 +28,6 @@
|
|||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
typedef struct VCR1Context {
|
typedef struct VCR1Context {
|
||||||
AVCodecContext *avctx;
|
|
||||||
AVFrame picture;
|
AVFrame picture;
|
||||||
int delta[16];
|
int delta[16];
|
||||||
int offset[4];
|
int offset[4];
|
||||||
@@ -39,7 +38,6 @@ static av_cold void common_init(AVCodecContext *avctx)
|
|||||||
VCR1Context *const a = avctx->priv_data;
|
VCR1Context *const a = avctx->priv_data;
|
||||||
|
|
||||||
avctx->coded_frame = &a->picture;
|
avctx->coded_frame = &a->picture;
|
||||||
a->avctx = avctx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static av_cold int decode_init(AVCodecContext *avctx)
|
static av_cold int decode_init(AVCodecContext *avctx)
|
||||||
|
Reference in New Issue
Block a user