aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffyuv.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-01 21:58:49 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-09 09:15:39 +0200
commit59535346b15e10efe0cfba24261e1f24634d31a4 (patch)
tree5c285f1fa49bf42da309ff5ac518b6a02f07a0b9 /libavcodec/huffyuv.c
parent1741adb1c76d36ca1a0d6e9165d5928510cdd9a2 (diff)
downloadffmpeg-59535346b15e10efe0cfba24261e1f24634d31a4.tar.gz
avocdec/huffyuvdec: Don't use HYuvContext.avctx
It is nearly unused anyway, so stop use the field altogether. This is in preparation for splitting HYuvContext into decoder and encoder contexts. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r--libavcodec/huffyuv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c
index e582060cc3..471bfa1bb9 100644
--- a/libavcodec/huffyuv.c
+++ b/libavcodec/huffyuv.c
@@ -72,7 +72,6 @@ av_cold void ff_huffyuv_common_init(AVCodecContext *avctx)
{
HYuvContext *s = avctx->priv_data;
- s->avctx = avctx;
s->flags = avctx->flags;
ff_bswapdsp_init(&s->bdsp);