diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-18 16:39:01 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-21 22:12:45 +0300 |
commit | ff3c4705f61dd03bf9dd0ae5d9f6c83075b25814 (patch) | |
tree | 012e2df700f0bfaa66ca30d605af36a1d69a0bed /libavcodec/speedhqdec.c | |
parent | 7894d4c9fa16204cf8bd266915e2da18a7775f72 (diff) |
avcodec/speedhqdec: Remove write-only AVCodecContext*
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/speedhqdec.c')
-rw-r--r-- | libavcodec/speedhqdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/speedhqdec.c b/libavcodec/speedhqdec.c index 3dea1c3605..acca437bd5 100644 --- a/libavcodec/speedhqdec.c +++ b/libavcodec/speedhqdec.c @@ -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; |