[FFmpeg-devel] [PATCH 108/134] avcodec/flashsvenc: Mark encoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:28 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/flashsvenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 95ae988448..0fe1edae2d 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -279,4 +279,5 @@ AVCodec ff_flashsv_encoder = {
.encode2 = flashsv_encode_frame,
.close = flashsv_encode_end,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list