summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* aac: Mention abbreviation as well in long_nameDiego Biurrun2012-07-24
| | | | Most people know the codec as "AAC" and not "Advanced Audio Coding".
* build: Skip compiling rtmpdh.h if ffrtmpcrypt protocol is not enabledDiego Biurrun2012-07-24
| | | | | The ffrtmpcrypt protocol depends on external libraries, which are also required to compile the header file.
* doc: Add Git configuration sectionDiego Biurrun2012-07-23
|
* configure: Add a dependency on https for rtmptsMartin Storsjö2012-07-24
| | | | | | | | The rtmpts protocol uses https implicitly, via the ffrtmphttp protocol, but the ffrtmphttp protocol is also useable for plain rtmpt without https, so the dependency needs to be added here instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Only choose static payload types if the sample rate and channels are rightAdriano Pallavicino2012-07-24
| | | | | | | | | If using a different sample rate or number of channels, use a dynamic payload type instead, where the parameters are passed in the SDP. G722 is a special case where the normal rules don't apply. Signed-off-by: Martin Storsjö <martin@martin.st>
* v410dec: Implement explode mode supportDerek Buitenhuis2012-07-23
| | | | | | | Try and decode broken files, but still fail if explode mode is enabled. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: fix direct rendering.Reimar Döffinger2012-07-23
| | | | | | | | | | | | Set picture type before calling get_buffer. This allows the DR application to make better decisions. It also fixes a resource leak in case of missing reference frames since it would call get_buffer but never release_buffer. Also use FFSWAP to ensure that the AVFrame is properly initialized in the next get_buffer (in particular that data[0] is NULL). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* wav: init st to NULL to avoid a false-positive warning.Clément Bœsch2012-07-23
| | | | | | | | | | | | If st is NULL, it means no 'fmt ' tag is found, but 'data' tag (which needs a previous 'fmt ' tag to be parsed correctly and st initialized) check will make sure st is never dereferenced in that case. Fixes warning: libavformat/wav.c: In function ‘wav_read_header’: libavformat/wav.c:499:44: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* wavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bitHendrik Leppkes2012-07-23
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* h264: refactor NAL decode loopRonald S. Bultje2012-07-23
| | | | | | | | | | Write out the NAL decoding loops in full so that they are easier to parse for a preprocessor without it having to be aware of macros or other such things in C code. This also makes the code more readable. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>