Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-10avutil/avstring: Use size_t in av_strlcatf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ae4eea8be45a0b212fd57ceaac1f11089ab81d98) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-10avutil/dict: Use size_t for appending stringsMichael Niedermayer
the string length is not constrained to INT_MAX Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4c128ea1629116fc4936edc5f96bbd18f3ef1647) Conflicts: libavutil/dict.c
2015-06-10avutil/pca: Check for av_malloc* failuresMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit dadc43eee4d9036aa532665a04720238cc15e922) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-10arm: Suppress tags about used cpu arch and extensionsMartin Storsjö
When all the codepaths using manually set .arch/.fpu code is behind runtime detection, the elf attributes should be suppressed. This allows tools to know that the final built binary doesn't strictly require these extensions. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73 and b77e335e441040a40fc6156b8e4a134745d10233) Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 9841654c158c80e9d525ba03754135d3f34e306e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-10lavu/frame: fix malloc error path in av_frame_copy_props()wm4
The error path frees all side data, but forgets to reset the side data count. This can blow up later in av_frame_unref() and free_side_data(). Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a400edbb6d00c0211de38e4f1b4f593681db91d8) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-27avutil/x86/cpu: fix cpuid sub-leaf selectionlvqcl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e58fc44649d07d523fcd17aa10d9eb0d3a5ef3f4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-25avutil/lzo: add asserts to be double sure against overflowsMichael Niedermayer
These asserts cannot fail since d6af26c55c1ea30f85a7d9edbc373f53be1743ee Based-on: ccda51b14c0fcae2fad73a24872dce75a7964996 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit cf2b7c01f81c1fb3283a1390c0ca9a2f81f4f4a8) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-25avutil/lzo: Fix integer overflowMichael Niedermayer
Embargoed-till: 2014-06-27 requested by researcher, but embargo broken by libav today (git and mailing list) Fixes: LMS-2014-06-16-4 Found-by: "Don A. Bailey" <donb@securitymouse.com> See: ccda51b14c0fcae2fad73a24872dce75a7964996 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d6af26c55c1ea30f85a7d9edbc373f53be1743ee) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-25avutil/cpu: force mmx on selection of higher x86 SIMD featuresMichael Niedermayer
Fixes various runtime failures with manually set flags that represent no existing CPU Fixes Ticket3653 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6310eb8010b7a3b3016e297132380cbd4e3d2d10) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-25lavu/opt: validate range before dereferenceLukasz Marek
This change make error handling simplier. av_opt_freep_ranges may be called when some ranges are NULL, for example after memory allocation fail. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3aac5fcfa9d3748659d78ab2a66d0ccce22cfd4f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-25avutil/timestamp: Warn about missing __STDC_FORMAT_MACROS for C++ useMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8b02dfd37cb3bc9521fc6e1f5b5f13c80d144cd2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-05samplefmt: avoid integer overflow in av_samples_get_buffer_size()Justin Ruggles
CC:libav-stable@libav.org (cherry picked from commit 0e830094ad0dc251613a0aa3234d9c5c397e02e6) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-24avutil/log: skip IO calls on empty stringsMichael Niedermayer
These occur when no context is set for example, thus they are common Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a044a183a3fb90b20a8deaa3ea1158510bcdd420) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-24avutil: reintroduce lls1 as the 52 ABI needs itMichael Niedermayer
lls1 taken from ff130d7 This is incompatible with libavcodec version 55.18.100 to 55.43.100 except 55.39.101 This incompatibility is caused by these libavcodec versions depending on a libavutil 52 which is ABI incompatible with the previous ABI 52 you can avoid this incompatibility by upgrading your libavcodec so it does no longer depend on the invalid ABI See: 502ab21af0ca68f76d6112722c46d2f35c004053 See: cc6714bb16b1f0716ba43701d47273dbe9657b8b See: 41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2 See: Ticket3136 Tested-by: marillat Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b382d09d29be90e0947295a70cdcbaa60b9030b8) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-24rename new lls code to lls2 to avoid conflict with the old which has a ↵Michael Niedermayer
different ABI also remove failed attempt at a compatibility layer, the code simply cannot work Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c3814ab654a993723b0e5f14cc252d68f233ad79) Conflicts: libavcodec/version.h
2013-12-24avutil: rename lls to lls2Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bbe66ef912470007f7cc424badde2ccec500b36b) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-24avutil/opt: initialize retMichael Niedermayer
Fixes CID1108610 Fixes use of uninitialized variable Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2d8ccf0adcae09cb9e14b01cfe20e4d77c3bbf5d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-09avutil/mem: Fix flipped conditionMichael Niedermayer
Fixes return code and later null pointer dereference Found-by: Laurent Butti <laurentb@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c94f9e854228e0ea00e1de8769d8d3f7cab84a55) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-07Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'Michael Niedermayer
* commit '6516632967da5e6bd7d6136e8678f826669ed26e': tests: Only run noproxy test if networking is enabled fifo: K&R formatting cosmetics Conflicts: libavformat/Makefile libavutil/fifo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-06fifo: K&R formatting cosmeticsLuca Barbato
2013-07-05Merge commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d'Michael Niedermayer
* commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d': log: pass the correct parameters to missing_feature_sample Conflicts: libavutil/log.c See: 572e38a513139b21c35acfef13aa7c4e307ab648 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-05avutil/rational: avoid llrint() and rint()Michael Niedermayer
This should workaround issues with these functions on ia64 and sparc64 Fixes Ticket2713 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-04log: pass the correct parameters to missing_feature_sampleLuca Barbato
CC:libav-stable@libav.org
2013-07-04lavu/opt: show default valuesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-07-03configure: rename have_incompatible_fork_abi -> have_incompatible_libav_abiStefano Sabatini
"Fork" is an ambiguous term, since there may be more than one fork, also "fork" could be confused with the corresponding function. Also it seems important to point the name of the referenced fork in the symbol. Note: the old --enable-incompatible-fork-abi command is retained for compatibility, although it should be considered deprecated.
2013-07-02avutil/x86: reenable ff_update_lls_avx()Michael Niedermayer
The bug has been fixed in c8b920a9b7fa534a6141695ace4e8c2dfcd56cee by Loren Merritt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-02Merge commit 'c8b920a9b7fa534a6141695ace4e8c2dfcd56cee'Michael Niedermayer
* commit 'c8b920a9b7fa534a6141695ace4e8c2dfcd56cee': lls/x86: use 3-operator vaddpd in ADDPD_MEM Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-02lls/x86: use 3-operator vaddpd in ADDPD_MEMLoren Merritt
Fixes build with yasm-1.1 Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-07-01Revert "avutil/x86: disable ff_evaluate_lls_sse2() for 32bit"Michael Niedermayer
This reverts commit 247425241cb3b2b76df1c2aced5ce0d56126b82d.
2013-07-01Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: lpc: fix a segfault in av_evaluate_lls_sse2() Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-01x86: lpc: fix a segfault in av_evaluate_lls_sse2()Loren Merritt
2013-06-30Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer
* cehoyos/master: Support compilation on aix with gcc. Rename "AVClass class" as "AVClass component_class". Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE. Rename thread_init() in libavcodec and libavfilter as library_thread_init(). Rename constant HZ in af_biquads.c as HERTZ. Drop local lable from ppc asm timer. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30avutil/x86: disable ff_evaluate_lls_sse2() for 32bitMichael Niedermayer
It just segfaults on 32bit, thus its disabled until someone fixes it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30Rename "AVClass class" as "AVClass component_class".Carl Eugen Hoyos
The aix header math.h defines "extern int class()" for C.
2013-06-30Drop local lable from ppc asm timer.Carl Eugen Hoyos
The aix assembler does not support local lables.
2013-06-30Merge commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191'Michael Niedermayer
* commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191': x86: lpc: simd av_evaluate_lls Conflicts: libavutil/x86/lls.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30lls.asm: disable ff_update_lls_avxMichael Niedermayer
The code doesnt build with yasm from ubuntu 12.04 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30lls.asm: put avx code under if HAVE_AVX_EXTERNALMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30Merge commit '502ab21af0ca68f76d6112722c46d2f35c004053'Michael Niedermayer
* commit '502ab21af0ca68f76d6112722c46d2f35c004053': x86: lpc: simd av_update_lls The versions are bumped due to changes in lls.h which is used across libraries affecting intra library ABI (This version bump also covers changes to lls.h in the immedeatly previous commits) Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30Merge commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2'Michael Niedermayer
* commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2': lpc: use function pointers, in preparation for asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30Merge commit 'cc6714bb16b1f0716ba43701d47273dbe9657b8b'Michael Niedermayer
* commit 'cc6714bb16b1f0716ba43701d47273dbe9657b8b': lpc: remove "decay" argument Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-29x86: lpc: simd av_evaluate_llsLoren Merritt
1.5x-1.8x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-06-29x86: lpc: simd av_update_llsLoren Merritt
4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-06-29lpc: use function pointers, in preparation for asmLoren Merritt
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-06-29lpc: remove "decay" argumentLoren Merritt
We never used the rolling-average mode, and this makes av_update_lls 15% faster. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-06-29cosmetics: Fix "dont" "wont" "doesnt" typosTimothy Gu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-22avutil/ripemd: adjust loop condition to silence CID1035716Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-18avutil/frame: Try to align width to achive linesize[0] alignmentMichael Niedermayer
This results in more alignment for pixel formats that have "odd" pixel sizes like RGB24. It makes access through SIMD easier Works around Issue described in Ticket1031 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-16lavu/adler32: Fix doxy group definition, take twoJames Almer
The description if for the function, not the group. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-16lavu/hash: Add support for RIPEMDJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>