diff mbox series

[FFmpeg-devel,143/217] avcodec/cinepak: Mark decoder as init-threadsafe

Message ID 20201202042244.519127-9-andreas.rheinhardt@gmail.com
State Accepted
Commit 41519b29facb3727fae1744376ef79bc280c6597
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/cinepak.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tomas Härdin Dec. 8, 2020, 2:36 p.m. UTC | #1
ons 2020-12-02 klockan 05:21 +0100 skrev Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/cinepak.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c
> index 9c5b254231..17148a3577 100644
> --- a/libavcodec/cinepak.c
> +++ b/libavcodec/cinepak.c
> @@ -522,4 +522,5 @@ AVCodec ff_cinepak_decoder = {
>      .close          = cinepak_decode_end,
>      .decode         = cinepak_decode_frame,
>      .capabilities   = AV_CODEC_CAP_DR1,
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>  };

Looks fine

/Tomas
diff mbox series

Patch

diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c
index 9c5b254231..17148a3577 100644
--- a/libavcodec/cinepak.c
+++ b/libavcodec/cinepak.c
@@ -522,4 +522,5 @@  AVCodec ff_cinepak_decoder = {
     .close          = cinepak_decode_end,
     .decode         = cinepak_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };