aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hapdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-01-24 20:36:55 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-01-28 11:00:01 +0100
commit341d0419e1291d5af524405d21d564aaf23dd409 (patch)
tree7b8368108f744a56be591f0443e08bcd6a55b40e /libavcodec/hapdec.c
parent4f58372c10dfc5d8c4ae46738b5a1c79633ee5ff (diff)
downloadffmpeg-341d0419e1291d5af524405d21d564aaf23dd409.tar.gz
avcodec/texturedsp: Factor common code out
Namely calling avctx->execute2(avctx,...). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hapdec.c')
-rw-r--r--libavcodec/hapdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c
index 64e0494370..3a848e9f67 100644
--- a/libavcodec/hapdec.c
+++ b/libavcodec/hapdec.c
@@ -323,7 +323,7 @@ static int hap_decode(AVCodecContext *avctx, AVFrame *frame,
ctx->dec[t].frame_data.out = frame->data[0];
ctx->dec[t].stride = frame->linesize[0];
- avctx->execute2(avctx, ff_texturedsp_decompress_thread, &ctx->dec[t], NULL, ctx->dec[t].slice_count);
+ ff_texturedsp_exec_decompress_threads(avctx, &ctx->dec[t]);
}
/* Frame is ready to be output */