mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/g729dec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
be633f1237
commit
30a5b66a7c
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user