diff mbox series

[FFmpeg-devel,09/45] avcodec/cljrdec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-9-andreas.rheinhardt@gmail.com
State Accepted
Commit b143f8c26ac4da3a08ca78d7c586c9cc1ba408aa
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/cljrdec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Obviously ok
diff mbox series

Patch

diff --git a/libavcodec/cljrdec.c b/libavcodec/cljrdec.c
index 4b187f8cf3..c41df12d53 100644
--- a/libavcodec/cljrdec.c
+++ b/libavcodec/cljrdec.c
@@ -90,5 +90,6 @@  AVCodec ff_cljr_decoder = {
     .init           = decode_init,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };