1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 1d2d91d1cf avcodec/tiff: Make decoder init-threadsafe
The only thing that stands in the way of adding the
FF_CODEC_CAP_INIT_THREADSAFE flag to the TIFF decoder is its usage
of ff_codec_open2_recursive(): This function requires its caller to hold
the lock for the mutex that guards initialization of AVCodecContexts
whose codecs have a non-threadsafe init function and only callers whose
codec does not have the FF_CODEC_CAP_INIT_THREADSAFE flag set hold said
lock (the others don't need to care about said lock). But one can set
the flag if one switches to avcodec_open2() at the same time.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-12-04 15:46:46 +01:00
..
2020-11-24 09:38:35 +01:00
2020-10-15 22:53:56 +02:00
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
2020-11-12 15:55:16 +01:00
2020-10-24 19:11:12 +02:00
2020-11-10 02:14:29 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 11:35:03 +01:00
2020-10-24 16:50:29 +02:00
2020-11-24 09:38:35 +01:00
2020-10-19 05:15:00 +02:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-11 18:36:09 +01:00
2020-11-11 18:36:09 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-02 22:57:23 +00:00
2020-10-23 10:37:04 +02:00
2020-10-16 00:38:50 +02:00