[FFmpeg-cvslog] avcodec/y41penc: Mark encoder as init-threadsafe
Andreas Rheinhardt
git at videolan.org
Fri Dec 4 17:39:58 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 17:38:43 2020 +0100| [ced33a2cded3078faf68ac8ecb550063eb8c0667] | committer: Andreas Rheinhardt
avcodec/y41penc: Mark encoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ced33a2cded3078faf68ac8ecb550063eb8c0667
---
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,
};
More information about the ffmpeg-cvslog
mailing list