ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Thu Nov 26 14:26:17 2020 +0100| [87a5d9821f996a84610cd40e026c1ee43957f564] | 
committer: Andreas Rheinhardt

avcodec/adpcm: Mark decoders as init-threadsafe

They don't modify any global state

Reviewed-by: Anton Khirnov <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87a5d9821f996a84610cd40e026c1ee43957f564
---

 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. */

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to