[FFmpeg-devel] [PATCH 103/134] avcodec/g726: Mark encoders as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:23 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/g726.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 6f8aa6a725..c263ecffe0 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -409,6 +409,7 @@ AVCodec ff_adpcm_g726_encoder = {
AV_SAMPLE_FMT_NONE },
.priv_class = &g726_class,
.defaults = defaults,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
@@ -433,6 +434,7 @@ AVCodec ff_adpcm_g726le_encoder = {
AV_SAMPLE_FMT_NONE },
.priv_class = &g726le_class,
.defaults = defaults,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
--
2.25.1
More information about the ffmpeg-devel
mailing list