aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/proresdec2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-10 14:12:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-13 22:04:22 +0200
commit6434e440039910f12f7c08072b7db3c5e99c3025 (patch)
treebd29932d353073aa5736815fcc063d31a0dcf84f /libavcodec/proresdec2.c
parent0058f6013f5286d5e1b7403dfce0d97069cd8f91 (diff)
downloadffmpeg-6434e440039910f12f7c08072b7db3c5e99c3025.tar.gz
avcodec/thread: Remove ff_thread_get_format define
Unnecessary since FF_API_THREAD_SAFE_CALLBACKS is no more. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r--libavcodec/proresdec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index 2219971b85..3a5b753430 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -278,7 +278,7 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
*fmtp++ = ctx->pix_fmt;
*fmtp = AV_PIX_FMT_NONE;
- if ((ret = ff_thread_get_format(avctx, pix_fmts)) < 0)
+ if ((ret = ff_get_format(avctx, pix_fmts)) < 0)
return ret;
avctx->pix_fmt = ret;