[FFmpeg-devel] [PATCH 12/45] avcodec/y41penc: Mark encoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:16 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/y41penc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c
index d7d301fab5..4340a3fbba 100644
--- a/libavcodec/y41penc.c
+++ b/libavcodec/y41penc.c
@@ -84,4 +84,5 @@ AVCodec ff_y41p_encoder = {
.encode2 = y41p_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
AV_PIX_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list