summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2022-02-11 13:18:08 +0100
committerAndreas Rheinhardt <[email protected]>2022-02-13 12:35:39 +0100
commit903e87185870809bd908b7322d51d3be0d867eb7 (patch)
treee50f48b18e169c5cc457a1f2cf94e0aac15fc168
parentb45060114de164a0c0e7617cb0c85fd3ebf91140 (diff)
avcodec/amrnbdec: Mark decoder as init-threadsafe
It performs no initialization of static data during its init function. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r--libavcodec/amrnbdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c
index d8e0370a3b..1e11445cd3 100644
--- a/libavcodec/amrnbdec.c
+++ b/libavcodec/amrnbdec.c
@@ -1107,4 +1107,5 @@ const AVCodec ff_amrnb_decoder = {
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};