[FFmpeg-devel] [PATCH 58/72] avcodec/pafaudio: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 19:46:38 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 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,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list