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>
This commit is contained in:
Andreas Rheinhardt 2020-11-26 14:26:17 +01:00
parent 868368aa38
commit 87a5d9821f

View File

@ -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. */