diff mbox series

[FFmpeg-devel,11/45] avcodec/y41pdec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-11-andreas.rheinhardt@gmail.com
State Accepted
Commit b509692c622a3e56e1a972550e042b56f0cadb70
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, 1:02 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/y41pdec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Clearly ok
diff mbox series

Patch

diff --git a/libavcodec/y41pdec.c b/libavcodec/y41pdec.c
index 85a39e4ae2..2bfabe277e 100644
--- a/libavcodec/y41pdec.c
+++ b/libavcodec/y41pdec.c
@@ -89,4 +89,5 @@  AVCodec ff_y41p_decoder = {
     .init         = y41p_decode_init,
     .decode       = y41p_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };