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
1 changed files with 2 additions and 0 deletions

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