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

Andreas Rheinhardt git at videolan.org
Tue May 11 01:20:46 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed May  5 21:04:59 2021 +0200| [4848a7abff37c868aa5a701c56e2a6b9588720d5] | committer: Andreas Rheinhardt

avcodec/rawdec: 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=4848a7abff37c868aa5a701c56e2a6b9588720d5
---

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

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 96abf6a48c..b22e36e984 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -492,4 +492,5 @@ const AVCodec ff_rawvideo_decoder = {
     .decode         = raw_decode,
     .priv_class     = &rawdec_class,
     .capabilities   = AV_CODEC_CAP_PARAM_CHANGE,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list