diff mbox series

[FFmpeg-devel,01/23] avcodec/ljpegenc: Mark encoder as init-threadsafe

Message ID VI1PR0301MB21591D5D97D9D4AF5163F2448F589@VI1PR0301MB2159.eurprd03.prod.outlook.com
State Accepted
Commit 9e1f7e20861505c174274d76765380c23d3d3c15
Headers show
Series [FFmpeg-devel,01/23] avcodec/ljpegenc: Mark encoder as init-threadsafe
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt May 6, 2021, 5:07 a.m. UTC
From: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/ljpegenc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andreas Rheinhardt May 10, 2021, 8:02 p.m. UTC | #1
Andreas Rheinhardt:
> From: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/ljpegenc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
> index 80b5e799ed..d820b9a0f5 100644
> --- a/libavcodec/ljpegenc.c
> +++ b/libavcodec/ljpegenc.c
> @@ -337,4 +337,5 @@ const AVCodec ff_ljpeg_encoder = {
>          AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
>          AV_PIX_FMT_YUV420P , AV_PIX_FMT_YUV444P , AV_PIX_FMT_YUV422P,
>          AV_PIX_FMT_NONE},
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>  };
> 
Will apply the remaining patches of this patchset.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index 80b5e799ed..d820b9a0f5 100644
--- a/libavcodec/ljpegenc.c
+++ b/libavcodec/ljpegenc.c
@@ -337,4 +337,5 @@  const AVCodec ff_ljpeg_encoder = {
         AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
         AV_PIX_FMT_YUV420P , AV_PIX_FMT_YUV444P , AV_PIX_FMT_YUV422P,
         AV_PIX_FMT_NONE},
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };