[FFmpeg-devel] [PATCH 168/217] avcodec/bintext: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:55 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/bintext.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 1aeed21f51..e30715368e 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -224,6 +224,7 @@ AVCodec ff_bintext_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
#if CONFIG_XBIN_DECODER
@@ -236,6 +237,7 @@ AVCodec ff_xbin_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
#if CONFIG_IDF_DECODER
@@ -248,5 +250,6 @@ AVCodec ff_idf_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
--
2.25.1
More information about the ffmpeg-devel
mailing list