From 9e1f7e20861505c174274d76765380c23d3d3c15 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 11 Dec 2020 13:02:43 +0100 Subject: [PATCH] avcodec/ljpegenc: Mark encoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- 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, };