From be633f1237c6735b382121ede48af9a9edc82835 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 29 Nov 2020 20:56:31 +0100 Subject: [PATCH] avcodec/g726: Mark encoders as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/g726.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 6b2b8b3706..8c5c0940b8 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -409,6 +409,7 @@ const AVCodec ff_adpcm_g726_encoder = { AV_SAMPLE_FMT_NONE }, .priv_class = &g726_class, .defaults = defaults, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -433,6 +434,7 @@ const AVCodec ff_adpcm_g726le_encoder = { AV_SAMPLE_FMT_NONE }, .priv_class = &g726le_class, .defaults = defaults, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif