diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 16:59:31 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 02:48:42 +0200 |
commit | 93aa9056e81f58e00cd3a3252eaa63733bb50dac (patch) | |
tree | b64f56ef30dfbb88da4b3bb1afdca0bff1a15bb2 /libavcodec/mvcdec.c | |
parent | a3ccfed6189033b7db63c5c329e7d195d55f8dc5 (diff) | |
download | ffmpeg-93aa9056e81f58e00cd3a3252eaa63733bb50dac.tar.gz |
avcodec/mvcdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mvcdec.c')
-rw-r--r-- | libavcodec/mvcdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mvcdec.c b/libavcodec/mvcdec.c index 84cdae2123..ae5ce4c0d7 100644 --- a/libavcodec/mvcdec.c +++ b/libavcodec/mvcdec.c @@ -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 |