[FFmpeg-devel] [PATCH 04/45] avcodec/adpcm: Mark decoders as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:08 EET 2020
They don't modify any global state
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/adpcm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 01aced2e10..eb228cc47a 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -2142,6 +2142,7 @@ AVCodec ff_ ## name_ ## _decoder = { \
.flush = adpcm_flush, \
.capabilities = AV_CODEC_CAP_DR1, \
.sample_fmts = sample_fmts_, \
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \
}
/* Note: Do not forget to add new entries to the Makefile as well. */
--
2.25.1
More information about the ffmpeg-devel
mailing list