[FFmpeg-devel] [PATCH 182/217] avcodec/v210x: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index f6a453aabf..70b2da55f6 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -128,4 +128,5 @@ AVCodec ff_v210x_decoder = {
     .init           = decode_init,
     .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