summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuv.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-01 22:36:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-09 09:15:40 +0200
commit83a8b9fac7b03a3a9c703e2a0641ab2cc35efaae (patch)
tree16b502bba0e7682c2202565dc01d2fd2862de984 /libavcodec/huffyuv.c
parent2415f5158bfbce1c974554e29772a9df76940ad9 (diff)
downloadffmpeg-83a8b9fac7b03a3a9c703e2a0641ab2cc35efaae.tar.gz
avcodec/huffyuv: Inline ff_huffyuv_common_init() in its callers
This is in preparation for splitting HYuvContext. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r--libavcodec/huffyuv.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c
index 4a5bd53998..23a2bb2537 100644
--- a/libavcodec/huffyuv.c
+++ b/libavcodec/huffyuv.c
@@ -68,15 +68,6 @@ av_cold int ff_huffyuv_alloc_temp(HYuvContext *s, int width)
return 0;
}
-av_cold void ff_huffyuv_common_init(AVCodecContext *avctx)
-{
- HYuvContext *s = avctx->priv_data;
-
- s->flags = avctx->flags;
-
- ff_bswapdsp_init(&s->bdsp);
-}
-
av_cold void ff_huffyuv_common_end(HYuvContext *s)
{
int i;