summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 13:26:09 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 12:35:59 +0100
commit2d29058fb208c5f201f4191a58af8c2a3cf0887c (patch)
tree2447d9f580c8d872601a2ac5bdd949fc1559c628
parent903e87185870809bd908b7322d51d3be0d867eb7 (diff)
avcodec/amrwbdec: Mark decoder as init-threadsafe
It performs no initialization of static data in its init function. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/amrwbdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index 3ff4077f7f..7d1b820bbb 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -1303,4 +1303,5 @@ const AVCodec ff_amrwb_decoder = {
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
AV_SAMPLE_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};