diff mbox series

[FFmpeg-devel,53/72] avcodec/rl2: Mark decoder as init-threadsafe

Message ID 20201127174652.2838198-8-andreas.rheinhardt@gmail.com
State Accepted
Commit d0639af58ece57c12fb77a6536457d19dfc749ca
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, 5:46 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/rl2.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c
index 2d336a61e5..55ceaf080d 100644
--- a/libavcodec/rl2.c
+++ b/libavcodec/rl2.c
@@ -228,4 +228,5 @@  AVCodec ff_rl2_decoder = {
     .close          = rl2_decode_end,
     .decode         = rl2_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };