aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dds.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/dds.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/dds.c')
-rw-r--r--libavcodec/dds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dds.c b/libavcodec/dds.c
index 31a327a579..67e2325a2a 100644
--- a/libavcodec/dds.c
+++ b/libavcodec/dds.c
@@ -636,7 +636,7 @@ static int dds_decode(AVCodecContext *avctx, AVFrame *frame,
ctx->dec.tex_data.in = gbc->buffer;
ctx->dec.frame_data.out = frame->data[0];
ctx->dec.stride = frame->linesize[0];
- avctx->execute2(avctx, ff_texturedsp_decompress_thread, &ctx->dec, NULL, ctx->dec.slice_count);
+ ff_texturedsp_exec_decompress_threads(avctx, &ctx->dec);
} else if (!ctx->paletted && ctx->bpp == 4 && avctx->pix_fmt == AV_PIX_FMT_PAL8) {
uint8_t *dst = frame->data[0];
int x, y, i;