diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-24 20:36:55 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-28 11:00:01 +0100 |
commit | 341d0419e1291d5af524405d21d564aaf23dd409 (patch) | |
tree | 7b8368108f744a56be591f0443e08bcd6a55b40e /libavcodec/hapenc.c | |
parent | 4f58372c10dfc5d8c4ae46738b5a1c79633ee5ff (diff) | |
download | ffmpeg-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/hapenc.c')
-rw-r--r-- | libavcodec/hapenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hapenc.c b/libavcodec/hapenc.c index 92cd9c4d31..1464f743d6 100644 --- a/libavcodec/hapenc.c +++ b/libavcodec/hapenc.c @@ -63,7 +63,7 @@ static int compress_texture(AVCodecContext *avctx, uint8_t *out, int out_length, ctx->enc.tex_data.out = out; ctx->enc.frame_data.in = f->data[0]; ctx->enc.stride = f->linesize[0]; - avctx->execute2(avctx, ff_texturedsp_compress_thread, &ctx->enc, NULL, ctx->enc.slice_count); + ff_texturedsp_exec_compress_threads(avctx, &ctx->enc); return 0; } |