diff mbox series

[FFmpeg-devel,117/134] avcodec/fic: Mark decoder as init-threadsafe

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

Checks

Context Check Description
andriy/x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Nov. 30, 2020, 12:54 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/fic.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/fic.c b/libavcodec/fic.c
index 95baaedaa5..05343cac94 100644
--- a/libavcodec/fic.c
+++ b/libavcodec/fic.c
@@ -493,4 +493,5 @@  AVCodec ff_fic_decoder = {
     .close          = fic_decode_close,
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS,
     .priv_class     = &fic_decoder_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };