[FFmpeg-devel] [PATCH 46/72] avcodec/sunrastenc: Mark encoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Apr 30 11:18:38 EEST 2021


On Fri, Nov 27, 2020 at 6:46 PM Andreas Rheinhardt <
andreas.rheinhardt at gmail.com> wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/sunrastenc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
> index 97b2242a6e..3a66eab615 100644
> --- a/libavcodec/sunrastenc.c
> +++ b/libavcodec/sunrastenc.c
> @@ -248,4 +248,5 @@ AVCodec ff_sunrast_encoder = {
>                                                    AV_PIX_FMT_GRAY8,
>                                                    AV_PIX_FMT_MONOWHITE,
>                                                    AV_PIX_FMT_NONE },
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>  };
> --
> 2.25.1
>
>
Will apply the outstanding patches from this patchset tomorrow unless there
are objections.

- Andreas


More information about the ffmpeg-devel mailing list