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

Andreas Rheinhardt git at videolan.org
Sun Nov 29 01:39:37 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Nov 27 14:04:45 2020 +0100| [ef04afa730f938a94b1624fd19bdd20d8a7e3e7f] | committer: Andreas Rheinhardt

avcodec/pafaudio: Mark decoder as init-threadsafe

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef04afa730f938a94b1624fd19bdd20d8a7e3e7f
---

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

diff --git a/libavcodec/pafaudio.c b/libavcodec/pafaudio.c
index 12f473ae0a..f306e3b96c 100644
--- a/libavcodec/pafaudio.c
+++ b/libavcodec/pafaudio.c
@@ -79,4 +79,5 @@ AVCodec ff_paf_audio_decoder = {
     .init         = paf_audio_init,
     .decode       = paf_audio_decode,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list