diff mbox series

[FFmpeg-devel,17/45] avcodec/xl: Mark decoder as init-threadsafe

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

Comments

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

Approval
diff mbox series

Patch

diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 37ab46e4f7..72fb3bf259 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -135,4 +135,5 @@  AVCodec ff_xl_decoder = {
     .init         = decode_init,
     .decode       = decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };