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

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


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

avcodec/sipr: 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=b3912f8dfda0c0f9aaab9b9fc7f5232fb8ef963f
---

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

diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index 1b6de25fff..ad045a543f 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -571,4 +571,5 @@ AVCodec ff_sipr_decoder = {
     .init           = sipr_decoder_init,
     .decode         = sipr_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list