diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-15 13:41:41 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-24 11:35:03 +0100 |
commit | 97da1b4341a356d46e9b46f235f991a4de63195c (patch) | |
tree | 246942405b82bd74ccb74cd415fee2797410abbf /libavcodec/mimic.c | |
parent | 3066b243e96f2dfa3fd405b2b89a8e8574e398dc (diff) | |
download | ffmpeg-97da1b4341a356d46e9b46f235f991a4de63195c.tar.gz |
avcodec/mimic: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mimic.c')
-rw-r--r-- | libavcodec/mimic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index e91ba4353f..7eed0729e8 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -458,5 +458,6 @@ AVCodec ff_mimic_decoder = { .decode = mimic_decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, .update_thread_context = ONLY_IF_THREADS_ENABLED(mimic_decode_update_thread_context), - .caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS | + FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, }; |