aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/atadenoise.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 01:09:04 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit1d2d91d1cfbd3fe31b1fbf84822aca5bc8187ac6 (patch)
tree9848b16dd4ae30f40e0f3fc10b7871ca7560b6a9 /libavfilter/atadenoise.h
parentf41f58f0a74bb7728b2b2a36b9280a827489db48 (diff)
downloadffmpeg-1d2d91d1cfbd3fe31b1fbf84822aca5bc8187ac6.tar.gz
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>
Diffstat (limited to 'libavfilter/atadenoise.h')
0 files changed, 0 insertions, 0 deletions