summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 14:26:17 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit87a5d9821f996a84610cd40e026c1ee43957f564 (patch)
treea168f0775f9ad51fd3cb8f475e945b7182414621 /libavcodec/adpcm.c
parent868368aa38014add899dc467cac97011872296c7 (diff)
avcodec/adpcm: Mark decoders as init-threadsafe
They don't modify any global state Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 01aced2e10..eb228cc47a 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -2142,6 +2142,7 @@ AVCodec ff_ ## name_ ## _decoder = { \
.flush = adpcm_flush, \
.capabilities = AV_CODEC_CAP_DR1, \
.sample_fmts = sample_fmts_, \
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \
}
/* Note: Do not forget to add new entries to the Makefile as well. */