diff mbox series

[FFmpeg-devel,22/45] avcodec/ws-snd1: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-22-andreas.rheinhardt@gmail.com
State Accepted
Commit bfee34caaeaf40e911ae0c3612729ed179148c5f
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 27, 2020, 1:02 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/ws-snd1.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Anton Khirnov Dec. 4, 2020, 11:50 a.m. UTC | #1
Quoting Andreas Rheinhardt (2020-11-27 02:02:26)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/ws-snd1.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Clearly ok
diff mbox series

Patch

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,
 };