aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_mergeplanes.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 00:25:44 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commitd9b70d64dfb0955783739944db3ce61606338d24 (patch)
treecef086c8cb06c9fe7316437895cbc8c52600bbda /libavfilter/vf_mergeplanes.c
parentba96cdd551e7bf938ae8af90e14498edd09ee71a (diff)
downloadffmpeg-d9b70d64dfb0955783739944db3ce61606338d24.tar.gz
avcodec/smvjpegdec: Make decoder init-threadsafe
The only thing that stands in the way of adding the FF_CODEC_CAP_INIT_THREADSAFE flag to the SMV JPEG 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. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_mergeplanes.c')
0 files changed, 0 insertions, 0 deletions