[FFmpeg-devel] [PATCH 52/72] avcodec/ralf: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/ralf.c b/libavcodec/ralf.c
index 0080b23941..47effa1f09 100644
--- a/libavcodec/ralf.c
+++ b/libavcodec/ralf.c
@@ -538,4 +538,5 @@ AVCodec ff_ralf_decoder = {
     .capabilities   = AV_CODEC_CAP_DR1,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
                                                       AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list