[FFmpeg-devel] [PATCH 13/45] avcodec/yuv4dec: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:17 EET 2020


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

diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index f89f62debe..3fb1dbac28 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -81,4 +81,5 @@ AVCodec ff_yuv4_decoder = {
     .init         = yuv4_decode_init,
     .decode       = yuv4_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