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

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:40:45 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 19:22:52 2020 +0100| [6a2defd7d8edc79115a2231de80d357e02e4a3ca] | committer: Andreas Rheinhardt

avcodec/smc: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

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

 libavcodec/smc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index 2beb1ce291..342ebb71d1 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -484,4 +484,5 @@ AVCodec ff_smc_decoder = {
     .close          = smc_decode_end,
     .decode         = smc_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list