diff mbox series

[FFmpeg-devel,080/134] avcodec/msrle: Mark decoder as init-threadsafe

Message ID 20201130005454.110441-8-andreas.rheinhardt@gmail.com
State Accepted
Commit e48c11523f1486e5587001c9cb0b5328e8fced20
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/msrle.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 9233b34cc5..d8a9a24cbe 100644
--- a/libavcodec/msrle.c
+++ b/libavcodec/msrle.c
@@ -176,4 +176,5 @@  AVCodec ff_msrle_decoder = {
     .decode         = msrle_decode_frame,
     .flush          = msrle_decode_flush,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };