diff mbox series

[FFmpeg-devel,137/217] avcodec/cpia: Mark decoder as init-threadsafe

Message ID 20201202042244.519127-3-andreas.rheinhardt@gmail.com
State Accepted
Commit 5a4f0d9b94e1f9b927a5468ac441ceb515e99fcd
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 Dec. 2, 2020, 4:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/cpia.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephan Hilb Feb. 20, 2021, 2:39 p.m. UTC | #1
> libavcodec/cpia.c | 1 +
> 1 file changed, 1 insertion(+)

lgtm
diff mbox series

Patch

diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index bf09e1a5db..5f12a99a83 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -230,4 +230,5 @@  AVCodec ff_cpia_decoder = {
     .close          = cpia_decode_end,
     .decode         = cpia_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };