aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ljpegenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-11 13:02:43 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-10 22:12:01 +0200
commit9e1f7e20861505c174274d76765380c23d3d3c15 (patch)
tree60c7c363b813a610b8a2c9fec0b2c0f4142ec202 /libavcodec/ljpegenc.c
parentf8d910e90f599f338438833dfc92e2f1915ce414 (diff)
downloadffmpeg-9e1f7e20861505c174274d76765380c23d3d3c15.tar.gz
avcodec/ljpegenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/ljpegenc.c')
-rw-r--r--libavcodec/ljpegenc.c1
1 files changed, 1 insertions, 0 deletions
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,
};