mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/speedhqdec: Remove write-only AVCodecContext*
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
7894d4c9fa
commit
ff3c4705f6
@ -51,7 +51,6 @@
|
||||
#define ALPHA_VLC_BITS 5
|
||||
|
||||
typedef struct SHQContext {
|
||||
AVCodecContext *avctx;
|
||||
BlockDSPContext bdsp;
|
||||
IDCTDSPContext idsp;
|
||||
ScanTable intra_scantable;
|
||||
@ -576,8 +575,6 @@ static av_cold int speedhq_decode_init(AVCodecContext *avctx)
|
||||
static AVOnce init_once = AV_ONCE_INIT;
|
||||
SHQContext * const s = avctx->priv_data;
|
||||
|
||||
s->avctx = avctx;
|
||||
|
||||
ret = ff_thread_once(&init_once, speedhq_static_init);
|
||||
if (ret)
|
||||
return AVERROR_UNKNOWN;
|
||||
|
Loading…
Reference in New Issue
Block a user