ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Tue Oct 18 15:39:01 2022 +0200| [ff3c4705f61dd03bf9dd0ae5d9f6c83075b25814] | committer: Andreas Rheinhardt
avcodec/speedhqdec: Remove write-only AVCodecContext* Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff3c4705f61dd03bf9dd0ae5d9f6c83075b25814 --- libavcodec/speedhqdec.c | 3 --- 1 file changed, 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".