[FFmpeg-devel] [PATCH 128/134] avcodec/dvaudiodec: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:48 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/dvaudiodec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dvaudiodec.c b/libavcodec/dvaudiodec.c
index 5aa2a95553..2736d162a8 100644
--- a/libavcodec/dvaudiodec.c
+++ b/libavcodec/dvaudiodec.c
@@ -130,4 +130,5 @@ AVCodec ff_dvaudio_decoder = {
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
     .priv_data_size = sizeof(DVAudioContext),
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list