diff mbox series

[FFmpeg-devel,03/45] avcodec/cdtoons: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-3-andreas.rheinhardt@gmail.com
State Accepted
Commit 868368aa38014add899dc467cac97011872296c7
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/cdtoons.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

LGTM
diff mbox series

Patch

diff --git a/libavcodec/cdtoons.c b/libavcodec/cdtoons.c
index a8609815c1..3530f81452 100644
--- a/libavcodec/cdtoons.c
+++ b/libavcodec/cdtoons.c
@@ -453,4 +453,5 @@  AVCodec ff_cdtoons_decoder = {
     .decode         = cdtoons_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
     .flush          = cdtoons_flush,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };