- 27 Nov, 2014 27 commits
-
-
Michael Niedermayer authored
* commit '96fda42a': vf_interlace: get rid of useless loads See: ca59b5b6Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit 'fbd6c97f': lavu: fix memory leaks by using a mutex instead of atomics Conflicts: libavutil/buffer.c The atomics code is left in place as a fallback for synchronization in the absence of p/w32 threads. Our ABI did not requires applications to only use threads (and matching ones) to what libavutil was build with Our code also was not affected by the leak this change fixes, though no question the atomics based implementation is not pretty at all. First and foremost the code must work, being pretty comes after that. If this causes problems, for example when libavutil is used by multiple applications each using a different kind of threading system then the default possibly has to be changed to the uglier atomics. See: cea3a63bMerged-by: Michael Niedermayer <michaelni@gmx.at>
-
Lukasz Marek authored
-
Lukasz Marek authored
So far ffmpeg used recommended configuration only for codec priv options. ffmpeg will use now codec defaults and then apply recommended configuration for all options. Recommended configuration possibly contains minimal set of options to filful user configuration. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
ffmenc will store recommended encoder configuration if present. This will allow the user to base on local defaults and apply only explicitly set options. If recommended encoder configuration is not present, then non-default context's options are stored. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Michael Niedermayer authored
* commit '2443e522': lavu: add wrappers for the pthreads mutex API Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Vincent Bernat authored
By appending `?dscp=26` to the URL, IP packets will be classified as AF31 (assured forwarding for multimedia flows with low probability of loss). On congested network, this allows a user to assign priorities to flows. Signed-off-by: Vincent Bernat <vincent@bernat.im>
-
Vincent Bernat authored
By appending `?dscp=26` to the URL, IP packets will be classified as AF31 (assured forwarding for multimedia flows with low probability of loss). On congested network, this allows a user to assign priorities to flows. Signed-off-by: Vincent Bernat <vincent@bernat.im>
-
Michael Niedermayer authored
Fixes: signal_sigabrt_7ffff6ac7bb9_2683_cov_4120310995_m_ijpg.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array read Fixes: signal_sigsegv_35bcf26_471_cov_2806540268_CAINIT_A_SHARP_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Stefano Sabatini authored
-
Kieran Kunhya authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
The buffer pool has to atomically add and remove entries from the linked list of available buffers. This was done by removing the entire list with a CAS operation, working on it, and then setting it back again (using a retry-loop in case another thread was doing the same thing). This could effectively cause memory leaks: while a thread was working on the buffer list, other threads would allocate new buffers, increasing the pool's total size. There was no real leak, but since these extra buffers were not needed, but not free'd either (except when the buffer pool was destroyed), this had the same effects as a real leak. For some reason, growth was exponential, and could easily kill the process due to OOM in real-world uses. Fix this by using a mutex to protect the list operations. The fancy way atomics remove the whole list to work on it is not needed anymore, which also avoids the situation which was causing the leak. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Also add no-op fallbacks when threading is disabled. This helps keeping the code clean if Libav is compiled for targets without threading. Since we assume that no threads of any kind are used in such configurations, doing nothing is ok by definition. Based on a patch by wm4 <nfxjfg@googlemail.com>.
-
Matthew Oliver authored
Ensures that the header include order is such that winsock2.h is always included before windows.h or that windows.h does not include winsock.h. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Rong Yan authored
libavutil/ppc/util_altivec.h : fix load_with_perm_vec() add marcos vcswapi2s() vcswapc() VEC_SPLAT16() VEC_SLD16() for POWER LE Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '675ac56b': Revert "lavf: Don't try to update files atomically with renames on windows" Conflicts: libavformat/dashenc.c libavformat/hdsenc.c libavformat/internal.h libavformat/smoothstreamingenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '79fd186a': lavf: Use MoveFileEx instead of rename/_wrename on windows Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '9326d64e': Share the utf8 to wchar conversion routine between lavf and lavu Conflicts: libavformat/os_support.h libavutil/file_open.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Martin Storsjö authored
This reverts commit b9d08c77. After taking MoveFileEx into use, we can replace files with renames on windows as well. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This allows getting the normal unix semantics, where a rename allows replacing an existing file. Based on a suggestion by Reimar Döffinger. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This doesn't add any dependency on library internals, since this only is a static inline function that gets built into each of the calling functions - this is only to reduce the code duplication. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Fixes out of array read Fixes: asan_heap-oob_177e222_885_cov_1532528832_MERGE_D_TI_3.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 26 Nov, 2014 13 commits
-
-
Benoit Fouet authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
This function became very short and can be logically merged with add_codec(). Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Moving line_num into FFServerConfig as parser state, saves many passes of it aside of FFServerConfig pointer.
-
Lukasz Marek authored
ffserver_save_avoption() and ffserver_opt_preset() have redundant arguments. They can be obtained basing on media type. This simplifies uses and reduce chance for a mistake. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-