summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tls: Return AVERROR_EOF if the TLS_read/write functions return 0Martin Storsjö2012-07-28
| | | | | | | | | | OpenSSL returns 0 when the peer has closed the connection. GnuTLS doesn't return that though, but returns GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed without a clean close notify packet. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: port x86 SIMD to cpuflags.Ronald S. Bultje2012-07-27
|
* vp56: only compile MMX SIMD on x86-32.Ronald S. Bultje2012-07-27
| | | | | All x86-64 CPUs have SSE2, so the MMX version will never be used. This leads to smaller binaries.
* vp56: port x86 simd to cpuflags.Ronald S. Bultje2012-07-27
|
* proresdsp: port x86 assembly to cpuflags.Ronald S. Bultje2012-07-27
|
* lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macroJustin Ruggles2012-07-27
| | | | | Removes a false dependency on existing contents of the 2nd dst register, giving better performance for OOE.
* lavfi: better channel layout negotiationJustin Ruggles2012-07-27
| | | | | | | Allow substitution of channel pairs in the input for nearby channel pairs in the output in order to get a closer match. Also weigh LFE channel mismatch differently to favor matching the same layout without LFE over one less channel with LFE.
* alac: check for truncated packetsJustin Ruggles2012-07-27
| | | | | This will give a clearer error message when the error is caused by a truncated packet.
* alac: reverse lpc coeff order, simplify filterJustin Ruggles2012-07-27
| | | | Reversing the lpc coefficient order simplifies indexing in the filter.
* lavr: add x86-optimized mixing functionsJustin Ruggles2012-07-27
| | | | | Adds optimized functions for mixing 3 through 8 input channels to 1 and 2 output channels in fltp or s16p format with flt coeffs.
* x86: add support for fmaddps fma4 instruction with abstraction to avx/sseJustin Ruggles2012-07-27
|
* tscc2: fix typo in array indexKostya Shishkov2012-07-27
|
* build: use COMPILE template for HOSTOBJSMans Rullgard2012-07-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: do full flag handling for all compiler-type toolsMans Rullgard2012-07-26
| | | | | | | This adds a full identification probe of CC, AS, LD and HOSTCC, and sets up correct flags and dependency tracking for each. Signed-off-by: Mans Rullgard <mans@mansr.com>
* eval: fix printing of NaN in eval fate test.Ronald S. Bultje2012-07-26
| | | | | This fixes "make fate-eval" on MSVC builds. Without this, the test outputs "-1.#NaN" instead of "nan" on MSVS 2010.
* build: Rename aandct component to more descriptive aandcttablesDiego Biurrun2012-07-26
|
* mpegaudio: bury inline asm under HAVE_INLINE_ASM.Ronald S. Bultje2012-07-26
|
* x86inc: automatically insert vzeroupper for YMM functions.Ronald S. Bultje2012-07-26
|
* rtmp: Check the buffer length of ping packetsSamuel Pitoiset2012-07-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Allow having more unknown data at the end of a chunk size packet ↵Samuel Pitoiset2012-07-26
| | | | | | without failing Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Prevent reading outside of an allocate buffer when receiving server ↵Samuel Pitoiset2012-07-26
| | | | | | bandwidth packets Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenjpeg: support YUV and deep RGB pixel formatsMichael Bradshaw2012-07-26
| | | | | | | Based on FFmpeg version from commit 3275981207e30e140cffaea334ac390f1a04266a Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Fix typo in v410 decoder.Carl Eugen Hoyos2012-07-26
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vf_yadif: unset cur_buf on the input link.Anton Khirnov2012-07-26
| | | | | | | The buffer is stored internally, so this prevents it from being unreffed automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: ensure the overlay frame does not get leaked.Anton Khirnov2012-07-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: prevent premature freeing of cur_bufMichael Niedermayer2012-07-26
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Support urlencoded http authentication credentialsAntti Seppälä2012-07-26
| | | | | | | | | It should be possible to specify usernames in http requests containing urlencoded characters. This patch adds support for decoding the auth strings. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return an error when the client bandwidth is incorrectSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error code in handle_server_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error code in handle_client_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error codes in handle_chunk_sizeSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavr: x86: add missing vzeroupper in ff_mix_1_to_2_fltp_flt()Justin Ruggles2012-07-25
|
* vp8: Replace x*155/100 by x*101581>>16.Ronald S. Bultje2012-07-25
| | | | | | Idea stolen from webp (by Pascal Massimino) - because it's Cool. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* vp3: don't use calls to inline asm in yasm code.Ronald S. Bultje2012-07-25
| | | | | | | | Mixing yasm and inline asm is a bad idea, since if either yasm or inline asm is not supported by your toolchain, all of the asm stops working. Thus, better to use either one or the other alone. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86/dsputil: put inline asm under HAVE_INLINE_ASM.Ronald S. Bultje2012-07-25
| | | | | | | This allows compiling with compilers that don't support gcc-style inline assembly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dsputil_mmx: fix incorrect assembly codeYang Wang2012-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | In ff_put_pixels_clamped_mmx(), there are two assembly code blocks. In the first block (in the unrolled loop), the instructions "movq 8%3, %%mm1 \n\t", and so forth, have problems. From above instruction, it is clear what the programmer wants: a load from p + 8. But this assembly code doesn’t guarantee that. It only works if the compiler puts p in a register to produce an instruction like this: "movq 8(%edi), %mm1". During compiler optimization, it is possible that the compiler will be able to constant propagate into p. Suppose p = &x[10000]. Then operand 3 can become 10000(%edi), where %edi holds &x. And the instruction becomes "movq 810000(%edx)". That is, it will stride by 810000 instead of 8. This will cause a segmentation fault. This error was fixed in the second block of the assembly code, but not in the unrolled loop. How to reproduce: This error is exposed when we build using Intel C++ Compiler, with IPO+PGO optimization enabled. Crashed when decoding an MJPEG video. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtmp: Factorize the code by adding handle_invokeSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Factorize the code by adding handle_chunk_sizeSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Factorize the code by adding handle_pingSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Factorize the code by adding handle_client_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Factorize the code by adding handle_server_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Add a new option 'rtmp_pageurl'Samuel Pitoiset2012-07-25
| | | | | | | This option specifies the URL of the web page in which the media was embedded. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Update the description of the rtmp_tcurl optionSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Make the description of the rtmp_tcurl option more genericSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacenc: add LATM/LOAS encapsulation supportKieran Kunhya2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sctp: add port missing error messageJordi Ortiz2012-07-25
| | | | | | | Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: add port missing error messageJordi Ortiz2012-07-25
| | | | | | | Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter: Fix printf format string conversion specifierDiego Biurrun2012-07-25
| | | | libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
* rtmp: Add credit/copyright to librtmp authors for parts of the RTMPE codeMartin Storsjö2012-07-24
| | | | | | Our implementation of RTMPE is heavily based on librtmp. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Move the CONFIG_ condition into the if conditionsSamuel Pitoiset2012-07-24
| | | | | | | | This makes sure these calls are removed by dead code elimination even if optimization is disabled. This fixes building without crypto libraries without optimization. Signed-off-by: Martin Storsjö <martin@martin.st>