[FFmpeg-cvslog] avcodec/adpcmenc: Mark encoders as init-threadsafe
Andreas Rheinhardt
git at videolan.org
Fri Dec 4 17:39:43 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 14:31:06 2020 +0100| [6643eaaa301ac857af92bb89131f94813ce3137f] | committer: Andreas Rheinhardt
avcodec/adpcmenc: Mark encoders as init-threadsafe
Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6643eaaa301ac857af92bb89131f94813ce3137f
---
libavcodec/adpcmenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 4bab004dac..78600735cf 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -978,7 +978,7 @@ AVCodec ff_ ## name_ ## _encoder = { \
.close = adpcm_encode_close, \
.sample_fmts = sample_fmts_, \
.capabilities = capabilities_, \
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, \
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, \
.priv_class = &adpcm_encoder_class, \
}
More information about the ffmpeg-cvslog
mailing list