[FFmpeg-cvslog] avcodec/ws-snd1: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:40:23 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 18:53:24 2020 +0100| [bfee34caaeaf40e911ae0c3612729ed179148c5f] | committer: Andreas Rheinhardt

avcodec/ws-snd1: Mark decoder 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=bfee34caaeaf40e911ae0c3612729ed179148c5f
---

 libavcodec/ws-snd1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c
index 0f005807ae..bc9ed00938 100644
--- a/libavcodec/ws-snd1.c
+++ b/libavcodec/ws-snd1.c
@@ -178,4 +178,5 @@ AVCodec ff_ws_snd1_decoder = {
     .init           = ws_snd_decode_init,
     .decode         = ws_snd_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list