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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May  7 06:25:33 2021 +0200| [5ee835944134a2b264c365c7dd59ff206761ae31] | committer: Andreas Rheinhardt

avcodec/metasound: 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=5ee835944134a2b264c365c7dd59ff206761ae31
---

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

diff --git a/libavcodec/metasound.c b/libavcodec/metasound.c
index be47510d7a..57851a43c5 100644
--- a/libavcodec/metasound.c
+++ b/libavcodec/metasound.c
@@ -382,4 +382,5 @@ const AVCodec ff_metasound_decoder = {
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
                                                       AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list