diff mbox series

[FFmpeg-devel,08/45] avcodec/loco: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-8-andreas.rheinhardt@gmail.com
State Accepted
Commit a6bed408653aacc5c601e779884a0f1a52a927a9
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure | expand

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/loco.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Looks ok
diff mbox series

Patch

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 25dd1575ba..99e3a1d021 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -346,4 +346,5 @@  AVCodec ff_loco_decoder = {
     .init           = decode_init,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };