mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue