diff mbox series

[FFmpeg-devel,164/217] avcodec/idcinvideo: Mark decoder as init-threadsafe

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

Comments

Tomas Härdin Dec. 8, 2020, 2:38 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/idcinvideo.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
> index 6b2d8087ae..941a89d36d 100644
> --- a/libavcodec/idcinvideo.c
> +++ b/libavcodec/idcinvideo.c
> @@ -258,4 +258,5 @@ AVCodec ff_idcin_decoder = {
>      .decode         = idcin_decode_frame,
>      .capabilities   = AV_CODEC_CAP_DR1,
>      .defaults       = idcin_defaults,
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>  };

This one is also fine

/Tomas
diff mbox series

Patch

diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
index 6b2d8087ae..941a89d36d 100644
--- a/libavcodec/idcinvideo.c
+++ b/libavcodec/idcinvideo.c
@@ -258,4 +258,5 @@  AVCodec ff_idcin_decoder = {
     .decode         = idcin_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
     .defaults       = idcin_defaults,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };