From 659c2aa35c1a35ffde7fd948b907d79c302036d4 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 27 Nov 2020 14:46:23 +0100 Subject: [PATCH] avcodec/proresdec2: Mark decoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/proresdec2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index a57cece99b..fe1f3a28bd 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -831,4 +831,5 @@ const AVCodec ff_prores_decoder = { .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS | AV_CODEC_CAP_FRAME_THREADS, .profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles), + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };