[FFmpeg-cvslog] avcodec/vmdvideo: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Tue May 11 01:21:24 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu May  6 07:24:18 2021 +0200| [8f9a4ae63e5d7e997ccbd6fa56d173d7cff51163] | committer: Andreas Rheinhardt

avcodec/vmdvideo: Mark decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f9a4ae63e5d7e997ccbd6fa56d173d7cff51163
---

 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,
 };



More information about the ffmpeg-cvslog mailing list