You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/mvcdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
committed by
Andreas Rheinhardt
parent
a3ccfed618
commit
93aa9056e8
@@ -262,6 +262,7 @@ const AVCodec ff_mvc1_decoder = {
|
|||||||
.init = mvc_decode_init,
|
.init = mvc_decode_init,
|
||||||
.decode = mvc_decode_frame,
|
.decode = mvc_decode_frame,
|
||||||
.capabilities = AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -275,5 +276,6 @@ const AVCodec ff_mvc2_decoder = {
|
|||||||
.init = mvc_decode_init,
|
.init = mvc_decode_init,
|
||||||
.decode = mvc_decode_frame,
|
.decode = mvc_decode_frame,
|
||||||
.capabilities = AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user