[FFmpeg-cvslog] avcodec/ljpegenc: Mark encoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Tue May 11 01:20:44 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Dec 11 13:02:43 2020 +0100| [9e1f7e20861505c174274d76765380c23d3d3c15] | committer: Andreas Rheinhardt

avcodec/ljpegenc: Mark encoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e1f7e20861505c174274d76765380c23d3d3c15
---

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



More information about the ffmpeg-cvslog mailing list