1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/mvcdec: Mark decoders as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-29 16:59:31 +01:00 committed by Andreas Rheinhardt
parent a3ccfed618
commit 93aa9056e8

View File

@ -262,6 +262,7 @@ const AVCodec ff_mvc1_decoder = {
.init = mvc_decode_init,
.decode = mvc_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
@ -275,5 +276,6 @@ const AVCodec ff_mvc2_decoder = {
.init = mvc_decode_init,
.decode = mvc_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif