1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Sergey 6d2df3c00a ffmpeg: fix deadlock regression in threading error handing
Commit fc9c857c introduced deadlock regression when processing too many inputs:
  ffmpeg $(seq -f " -f lavfi -i aevalsrc=0:d=%.0f" 70) -vf concat=n=70:v=0:a=1 -f null -
Happens for different number of inputs, depending on available memory size,
overcommit settings, ulimits, etc. Easily noticeable for 32-bit builds,
that exhaust address space allocating 8-10 MB stack for each thread.
Earlier ffmpeg versions exited with unhelpful "Conversion failed!" message.

This patch fixes both problems: it frees the queue to prevent deadlock
and adds a meaningful error message if pthread_create() fails.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-27 17:45:38 +02:00
compat
doc Merge commit '182d3f8221c23716ea4eafa460bdb94968f71f26' 2014-06-27 00:57:04 +02:00
libavcodec avcodec/dvbsubdec: fix ignoring blank frame by updating got_output 2014-06-27 14:35:58 +02:00
libavdevice lavd/avfoundation: Support user selected pixel formats and pixel format autoselection. 2014-06-12 21:31:25 +02:00
libavfilter avfilter/x86/vf_pullup: fix old typo 2014-06-25 18:22:48 +02:00
libavformat avformat/mxfenc: rename very recently added option to set/force channelcount in MXF D-10 2014-06-27 03:29:51 +02:00
libavresample
libavutil Merge commit 'ab72eda15e98197cf148abc08574206cfde0d9b0' 2014-06-24 01:09:38 +02:00
libpostproc
libswresample swr: remove another forgotten division in DSP function. 2014-06-22 05:20:22 +02:00
libswscale swscale/x86/input: prevent RGB32_TO_Y_FN from reading into the padding 2014-06-22 03:09:28 +02:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests Merge commit '24f45c16224d4c5d482e928676714766ffdda4fc' 2014-06-27 02:36:45 +02:00
tools tools/fourcc2pixfmt: Avoid using non public AV_PIX_FMT_NB 2014-06-10 04:00:06 +02:00
.gitignore Remove avserver. 2014-06-18 14:55:28 +02:00
arch.mak
Changelog avfilter: add hqx filter (hq2x, hq3x, hq4x) 2014-06-21 19:22:55 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c
cmdutils.c version string: add copyright line to version string 2014-06-16 10:24:28 -08:00
cmdutils.h
common.mak
configure configure: add missing audiodsp dependency for ra144 2014-06-27 13:37:10 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c ffmpeg_opt: Dont exit on avformat_find_stream_info() failure if there are streams 2014-06-18 21:35:54 +02:00
ffmpeg_vda.c
ffmpeg_vdpau.c
ffmpeg.c ffmpeg: fix deadlock regression in threading error handing 2014-06-27 17:45:38 +02:00
ffmpeg.h ffmpeg: support setting AVStream.discard 2014-06-07 21:26:22 +02:00
ffplay.c ffplay: decrease audio_diff_threshold 2014-06-24 21:59:21 +02:00
ffprobe.c ffprobe: add color_range and color_space to stream output 2014-06-24 00:35:16 +02:00
ffserver.c
INSTALL.md
library.mak
LICENSE.md
MAINTAINERS avfilter: add hqx filter (hq2x, hq3x, hq4x) 2014-06-21 19:22:55 +02:00
Makefile Remove avserver. 2014-06-18 14:55:28 +02:00
README.md
RELEASE
version.sh

FFmpeg README

  1. Documentation

  1. Licensing

  • See the LICENSE file.
  1. Build and Install

  • See the INSTALL file.