avcodec/g726: Mark encoders as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-29 20:56:31 +01:00 committed by Andreas Rheinhardt
parent d40579c3cb
commit be633f1237
1 changed files with 2 additions and 0 deletions

View File

@ -409,6 +409,7 @@ const AVCodec ff_adpcm_g726_encoder = {
AV_SAMPLE_FMT_NONE },
.priv_class = &g726_class,
.defaults = defaults,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
@ -433,6 +434,7 @@ const AVCodec ff_adpcm_g726le_encoder = {
AV_SAMPLE_FMT_NONE },
.priv_class = &g726le_class,
.defaults = defaults,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif