avcodec/adpcmenc: Mark encoders as init-threadsafe

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:31:06 +01:00
parent 87a5d9821f
commit 6643eaaa30
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ AVCodec ff_ ## name_ ## _encoder = { \
.close = adpcm_encode_close, \
.sample_fmts = sample_fmts_, \
.capabilities = capabilities_, \
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP, \
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, \
.priv_class = &adpcm_encoder_class, \
}