ffmpeg/libavfilter
Derek Buitenhuis eb90a2091f pthread: Fix deadlock during thread initialization
Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.

Don't call pthread_cond_wait() if c->done is set.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-13 05:50:00 -04:00
..
x86 Consistently use "cpu_flags" as variable/parameter name for CPU flags 2013-07-18 00:31:35 +02:00
Makefile lavfi: add a slice threading infrastructure 2013-05-24 09:28:18 +02:00
af_aformat.c af_aformat: cosmetics, fix indentation 2013-05-17 20:30:02 +02:00
af_amix.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_anull.c
af_ashowinfo.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_asyncts.c af_asyncts: fix offset calculation 2013-05-10 09:31:27 +02:00
af_channelmap.c
af_channelsplit.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_join.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_resample.c
af_volume.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_volume.h
allfilters.c
asink_anullsink.c
asrc_anullsrc.c
audio.c lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer() 2013-06-18 11:21:16 +02:00
audio.h
avfilter.c lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfilter.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfiltergraph.c lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfiltergraph.h
buffer.c avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs 2013-07-31 19:23:00 +02:00
buffersink.c Disable deprecation warnings for cases where a replacement is available 2013-08-02 19:19:02 +02:00
buffersink.h
buffersrc.c Disable deprecation warnings for cases where a replacement is available 2013-08-02 19:19:02 +02:00
buffersrc.h
drawutils.c
drawutils.h
fifo.c lavfi/fifo: fix flushing when using request_samples 2013-08-05 10:52:00 +02:00
filtfmts.c lavfi: filtfmts: use newer avfilter APIs 2013-07-19 12:22:30 +03:00
formats.c lavfi: rename AVFilterFormats.format_count to nb_formats 2013-05-17 20:29:50 +02:00
formats.h lavfi: rename AVFilterFormats.format_count to nb_formats 2013-05-17 20:29:50 +02:00
gradfun.h
graphparser.c
internal.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
libavfilter.v
pthread.c pthread: Fix deadlock during thread initialization 2013-10-13 05:50:00 -04:00
setpts.c Remove commented-out debug #define cruft 2013-05-16 00:23:30 +02:00
split.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
thread.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
trim.c
version.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
vf_aspect.c vf_setdar: make config_props work properly when called multiple times. 2013-05-17 07:43:44 +02:00
vf_blackframe.c vf_blackframe: use the name 's' for the pointer to the private context 2013-05-16 07:30:41 +02:00
vf_boxblur.c vf_boxblur: use the name 's' for the pointer to the private context 2013-05-16 07:30:56 +02:00
vf_copy.c
vf_crop.c vf_crop: make config_props work properly when called multiple times. 2013-05-17 07:43:57 +02:00
vf_cropdetect.c vf_cropdetect: use the name 's' for the pointer to the private context 2013-05-16 07:31:50 +02:00
vf_delogo.c vf_delogo: use the name 's' for the pointer to the private context 2013-05-16 07:31:57 +02:00
vf_drawbox.c vf_drawbox: make config_props work properly when called multiple times. 2013-05-17 07:43:17 +02:00
vf_drawtext.c vf_drawtext: don't leak the expressions. 2013-05-17 07:44:04 +02:00
vf_fade.c vf_fade: support slice threading 2013-05-24 09:33:05 +02:00
vf_fieldorder.c vf_fieldorder: use the name 's' for the pointer to the private context 2013-05-16 07:33:07 +02:00
vf_format.c vf_format: do not use the AVFilterFormats internals. 2013-05-17 20:30:17 +02:00
vf_fps.c vf_fps: use double constants for default/min/max for start_time 2013-08-28 17:54:47 +03:00
vf_frei0r.c vf_frei0r: make config_props work properly when called multiple times. 2013-05-17 07:42:46 +02:00
vf_gradfun.c avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo 2013-07-29 20:09:59 +02:00
vf_hflip.c vf_hflip: use the name 's' for the pointer to the private context 2013-05-16 07:33:38 +02:00
vf_hqdn3d.c vf_hqdn3d: make config_props work properly when called multiple times. 2013-05-17 07:44:12 +02:00
vf_hqdn3d.h
vf_interlace.c vf_interlace: do not process an already interlaced frame 2013-10-02 16:40:49 +02:00
vf_libopencv.c vf_libopencv: use the name 's' for the pointer to the private context 2013-05-16 07:35:53 +02:00
vf_lut.c vf_lut: Constantize 2013-08-31 16:13:42 +02:00
vf_null.c
vf_overlay.c vf_overlay: use the name 's' for the pointer to the private context 2013-05-16 07:36:04 +02:00
vf_pad.c vf_pad: use the name 's' for the pointer to the private context 2013-05-16 07:36:10 +02:00
vf_pixdesctest.c vf_pixdesctest: make config_props work properly when called multiple times. 2013-05-17 07:44:23 +02:00
vf_scale.c pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* 2013-05-15 07:46:51 +02:00
vf_select.c
vf_settb.c
vf_showinfo.c
vf_transpose.c
vf_unsharp.c
vf_vflip.c
vf_yadif.c vf_yadif: support slice threading 2013-05-24 09:32:07 +02:00
video.c
video.h
vsink_nullsink.c
vsrc_color.c
vsrc_movie.c vsrc_movie: do not free avoption variables in uninit() 2013-06-20 13:27:14 +02:00
vsrc_nullsrc.c
vsrc_testsrc.c
yadif.h yadif: restore speed of the C filtering code 2013-05-14 09:23:55 +02:00