- 25 Jul, 2012 14 commits
-
-
Ronald S. Bultje authored
This allows compiling with compilers that don't support gcc-style inline assembly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Yang Wang authored
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>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
This option specifies the URL of the web page in which the media was embedded. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Kieran Kunhya authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Jordi Ortiz authored
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>
-
Jordi Ortiz authored
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>
-
Diego Biurrun authored
libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
-
- 24 Jul, 2012 3 commits
-
-
Martin Storsjö authored
Our implementation of RTMPE is heavily based on librtmp. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
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>
-
Diego Biurrun authored
Most people know the codec as "AAC" and not "Advanced Audio Coding".
-
- 23 Jul, 2012 16 commits
-
-
Diego Biurrun authored
The ffrtmpcrypt protocol depends on external libraries, which are also required to compile the header file.
-
Diego Biurrun authored
-
Martin Storsjö authored
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>
-
Adriano Pallavicino authored
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>
-
Derek Buitenhuis authored
Try and decode broken files, but still fail if explode mode is enabled. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Reimar Döffinger authored
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>
-
Clément Bœsch authored
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>
-
Hendrik Leppkes authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Ronald S. Bultje authored
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>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPE protocol implementation uses ffrtmpcrypt:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the higher level generic rtmp code. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
This function is used for calculating digest position for RTMP handshake packets. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
The function called in this block is under HAVE_INLINE_ASM itself also.
-
Ronald S. Bultje authored
This allows compiling this code using compilers that do not understand gcc-style inline assembly.
-
Mashiat Sarker Shakkhar authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 22 Jul, 2012 7 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
The files do not contain only MMX code.
-
Ronald S. Bultje authored
This removes the use of macro nesting in these code constructs, which makes it easier to parse in pre-processors.
-
Ronald S. Bultje authored
-
Justin Ruggles authored
-
Jason Garrett-Glaser authored
Simplifies pshufb masks that operate on words.
-
Mans Rullgard authored
Use compiler-specific replacements for the -o flag in check_cc. This makes tests work properly with compilers using non-standard flags. The tms470 flags are updated to work with this scheme. Signed-off-by: Mans Rullgard <mans@mansr.com>
-