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:
parent
a3ccfed618
commit
93aa9056e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user