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

Andreas Rheinhardt git at videolan.org
Wed May 12 07:48:20 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May  7 06:34:27 2021 +0200| [175f675f7bf1065f02bfbc676f081e369027bce5] | committer: Andreas Rheinhardt

avcodec/dvdsubdec: 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=175f675f7bf1065f02bfbc676f081e369027bce5
---

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

diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index e164745561..52259f0730 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -764,4 +764,5 @@ const AVCodec ff_dvdsub_decoder = {
     .decode         = dvdsub_decode,
     .flush          = dvdsub_flush,
     .priv_class     = &dvdsub_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list