[FFmpeg-devel] [PATCH 67/72] avcodec/proresdec2: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 19:46:47 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/proresdec2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index 5fd2796115..0071b69d9f 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -827,4 +827,5 @@ 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,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list