diff mbox series

[FFmpeg-devel,21/45] avcodec/xxan: Mark decoder as init-threadsafe

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

Comments

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

Doubleplusgood
diff mbox series

Patch

diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c
index 865dfa8f87..1dd46b36eb 100644
--- a/libavcodec/xxan.c
+++ b/libavcodec/xxan.c
@@ -443,5 +443,5 @@  AVCodec ff_xan_wc4_decoder = {
     .close          = xan_decode_end,
     .decode         = xan_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE,
 };