[FFmpeg-devel] [PATCH 25/25] avcodec/vmdvideo: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu May 6 08:29:55 EEST 2021


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

diff --git a/libavcodec/vmdvideo.c b/libavcodec/vmdvideo.c
index ad88a43ae3..e0349cba6a 100644
--- a/libavcodec/vmdvideo.c
+++ b/libavcodec/vmdvideo.c
@@ -475,5 +475,5 @@ const AVCodec ff_vmdvideo_decoder = {
     .close          = vmdvideo_decode_end,
     .decode         = vmdvideo_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };
-- 
2.27.0



More information about the ffmpeg-devel mailing list