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

Tomas Härdin tjoppen at acc.umu.se
Tue Dec 8 16:36:48 EET 2020


ons 2020-12-02 klockan 05:21 +0100 skrev Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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



More information about the ffmpeg-devel mailing list