diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-26 14:26:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-04 15:46:46 +0100 |
commit | 87a5d9821f996a84610cd40e026c1ee43957f564 (patch) | |
tree | a168f0775f9ad51fd3cb8f475e945b7182414621 | |
parent | 868368aa38014add899dc467cac97011872296c7 (diff) | |
download | ffmpeg-87a5d9821f996a84610cd40e026c1ee43957f564.tar.gz |
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>
-rw-r--r-- | libavcodec/adpcm.c | 1 |
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. */ |