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

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


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

avcodec/yop: 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=c53f39abc33348e7d111ffaaabe638ef19cb6e92
---

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

diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index aff28ef3fc..8f8ed940ec 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -274,4 +274,5 @@ AVCodec ff_yop_decoder = {
     .init           = yop_decode_init,
     .close          = yop_decode_close,
     .decode         = yop_decode_frame,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list