diff mbox series

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

Message ID 20201127174652.2838198-1-andreas.rheinhardt@gmail.com
State Accepted
Commit 6c189574459eb64a1d721e82383eaae0c4a62cbb
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, 5:46 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/sunrastenc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andreas Rheinhardt April 30, 2021, 8:18 a.m. UTC | #1
On Fri, Nov 27, 2020 at 6:46 PM Andreas Rheinhardt <
andreas.rheinhardt@gmail.com> wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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,
 };