[FFmpeg-devel] [PATCH 184/217] avcodec/vmnc: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Dec 2 06:22:11 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/vmnc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 7f441bc4bd..43f8c2aedb 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -582,4 +582,5 @@ AVCodec ff_vmnc_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list