You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/binkaudio: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
committed by
Andreas Rheinhardt
parent
e87edfc28a
commit
bff74c3aea
@@ -347,7 +347,7 @@ const AVCodec ff_binkaudio_rdft_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.receive_frame = binkaudio_receive_frame,
|
.receive_frame = binkaudio_receive_frame,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
|
||||||
const AVCodec ff_binkaudio_dct_decoder = {
|
const AVCodec ff_binkaudio_dct_decoder = {
|
||||||
@@ -360,5 +360,5 @@ const AVCodec ff_binkaudio_dct_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.receive_frame = binkaudio_receive_frame,
|
.receive_frame = binkaudio_receive_frame,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user