avcodec/g729dec: Mark decoders as init-threadsafe

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

View File

@ -760,6 +760,7 @@ const AVCodec ff_g729_decoder = {
.decode = decode_frame,
.close = decode_close,
.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
const AVCodec ff_acelp_kelvin_decoder = {
@ -772,4 +773,5 @@ const AVCodec ff_acelp_kelvin_decoder = {
.decode = decode_frame,
.close = decode_close,
.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};