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

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:39:49 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 16:50:44 2020 +0100| [a6bed408653aacc5c601e779884a0f1a52a927a9] | committer: Andreas Rheinhardt

avcodec/loco: 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=a6bed408653aacc5c601e779884a0f1a52a927a9
---

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

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 25dd1575ba..99e3a1d021 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -346,4 +346,5 @@ AVCodec ff_loco_decoder = {
     .init           = decode_init,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list