summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* udp: Only bind to the multicast address if in read-only modeMartin Storsjö2012-03-09
| | | | | | | | | | | | | | | This fixes sending back RTCP RR packets if receiving RTP over multicast. If the multicast stream is sent on demand (set up and signalled via RTSP), the sender might depend on getting RTCP RR packets knowing that there are listeners, otherwise the stream can be closed after a certain timeout. This fixes receiving RTSP streams over multicast on unix, from certain Axis cameras. Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Clarify the comment about binding the multicast addressMartin Storsjö2012-03-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Reorder commentsMartin Storsjö2012-03-09
| | | | | | | | | When this code was added in 36b532815cb83, the new code was added between the existing comment and the existing line of code, making the old comment seem to refer to the new code. This makes it read correctly. Signed-off-by: Martin Storsjö <martin@martin.st>
* ttadec: unbreak playback of matroska filesPaul B Mahol2012-03-08
| | | | | | | | Matroska demuxer needs to recreate tta header, so just display crc error without aborting. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbisdec: avoid invalid memory accessAaron Colwell2012-03-08
| | | | | | | | | This fixes some invalid memory access caused later in the function by res_chan[] not being set for all channels. This happens when a channel doesn't appear a submap. This change simply returns a decoder error when this situation is detected. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fix uninitialized reads on malformed ogg files.Dale Curtis2012-03-08
| | | | | | | | | | The ogg decoder wasn't padding the input buffer with the appropriate FF_INPUT_BUFFER_PADDING_SIZE bytes. Which led to uninitialized reads in various pieces of parsing code when they thought they had more data than they actually did. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* huffyuv: add padding to classic (v1) huffman tables.Ronald S. Bultje2012-03-08
| | | | | | | | | | We slightly overread the input buffer, so we require padding at the end of the buffer, as is documented in the get_bits API. Without padding, we'll read uninitialized data or beyond the end of the .rodata, which may crash. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* png: convert to bytestream2 API.Ronald S. Bultje2012-03-08
| | | | | | | Protects against overreads in the input buffer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2Kostya Shishkov2012-03-08
|
* avs: fix infinite loop on end-of-stream.Ronald S. Bultje2012-03-07
| | | | | | | | | The codec would keep returning the last decoded frame if the stream contains B-frames, since it wouldn't clear that frame from the list of frames to be returned to the user. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* tiffdec: Prevent illegal memory access caused by recycled pointers.Alex Converse2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* rtpenc: Fix the AVRational used for av_rescale_q_rndMartin Storsjö2012-03-08
| | | | | | | The current one has a zero denominator - this is what was intended in 14aecc50fae6. Signed-off-by: Martin Storsjö <martin@martin.st>
* wma: fix off-by-one in array bounds check.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* sbrdsp.asm: convert all instructions to float/SSE ones.Reimar Döffinger2012-03-07
| | | | | | | | | | | Since the values are floats, using the float operations makes sense, improves performance on some CPUs and makes the code SSE compatible instead of needing SSE2. Based on suggestion by Jason. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dv: cosmetics.Ronald S. Bultje2012-03-07
|
* dv: check buffer size before reading profile.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Revert "AAC SBR: group some writes."Ronald S. Bultje2012-03-07
| | | | | This reverts commit ba36f14e5d34bcca6ecf77ba1c7512d1b51a9740. It broke decoding on x86-32 on some systems.
* udp: Print an error message if bind failsMartin Storsjö2012-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cook: extend channel uncoupling tables so the full bit range is covered.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* roqvideo: cosmetics.Ronald S. Bultje2012-03-07
|
* roqvideo: convert to bytestream2 API.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dca: don't use av_clip_uintp2().Ronald S. Bultje2012-03-07
| | | | | The argument is not a literal, thus causing the ARM v6 or later builds to break.
* wmall: fix build with -DDEBUG enabled.Ronald S. Bultje2012-03-07
|
* smc: port to bytestream2 API.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* AAC SBR: group some writes.Christophe Gisquet2012-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dsputil: remove shift parameter from scalarproduct_int16Christophe GISQUET2012-03-07
| | | | | | | | | There is only one caller, which does not need the shifting. Other use cases are situations where different roundings would be needed. The x86 and neon versions are modified accordingly. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* SBR DSP: unroll sum_squareChristophe GISQUET2012-03-07
| | | | | | | | The length is even, so some unrolling can be performed. Timings are for x86: - 32bits: 102c -> 82c - 64bits: 82c -> 69c Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv34: remove dead code in intra availability checkChristophe GISQUET2012-03-07
| | | | | | | This was an incorrect copy-and-paste to a code not needing the original code. Spotted by Jason in a previous review but forgotten in the commit. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv34: clean a bit availability checks.Christophe GISQUET2012-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* v4l2: update documentationLuca Barbato2012-03-07
| | | | | Update the examples and remove stale information. Video4linux support had been already removed.
* tgq: convert to bytestream2 API.Ronald S. Bultje2012-03-07
| | | | | | | This protects against input buffer overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* parser: remove forward declaration of MpegEncContextPaul B Mahol2012-03-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dca: prevent accessing static arrays with invalid indexes.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* raw: move buffer size check up.Ronald S. Bultje2012-03-07
| | | | | | | This way, it protects against overreads for 4bpp/2bpp content also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lpcm: fix sample size calculation for 20bit LCPM.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: clip unscaled output intermediates.Ronald S. Bultje2012-03-07
| | | | | Fixes bug 240, as well as several integer overflows (visible as glitches) in other scaling output routines, e.g. YUV422.
* smacker: error out if palette copy-with-offset overruns palette size.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* algmm: convert to bytestream2 API.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wma: Refactor common code to fix standalone compilation of WMA lossless decoder.Diego Biurrun2012-03-07
|
* vc1: Move init code shared between decoder and parser to common code file.Diego Biurrun2012-03-07
| | | | This fixes standalone compilation of the VC-1 parser.
* x86: Remove duplicated AVG_3DNOW_OP / AVG_MMX2_OP macros from h264_qpel_mmx.c.Diego Biurrun2012-03-07
|
* mov: Allow last chunk to have an arbitrary number of samples.Carl Eugen Hoyos2012-03-06
| | | | | | | Fixes ticket #673. (cherry picked from commit 8dcd2a41ecff8cc1e9b20cc267df54c59878ab3b) Signed-off-by: Alex Converse <alex.converse@gmail.com>
* SBR DSP: fix SSE code to not use SSE2 instructions.Reimar Döffinger2012-03-06
| | | | | | | | movq from SSE register _to_ memory is an SSE2 instruction. Use the SSE movlps function instead that does the same thing. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cpu: initialize mask to -1, so that by default, optimizations are used.Ronald S. Bultje2012-03-06
|
* error_resilience: initialize s->block_index[].Ronald S. Bultje2012-03-06
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* svq3: protect against negative quantizers.Ronald S. Bultje2012-03-06
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Don't use ff_cropTbl[] for IDCT.Ronald S. Bultje2012-03-06
| | | | | | | | Results of IDCT can by far outreach the range of ff_cropTbl[], leading to overreads and potentially crashes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: make filterPos 32bit.Ronald S. Bultje2012-03-06
| | | | | | | Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.Anton Khirnov2012-03-06
|
* avconv: add -cpuflags option for setting supported cpuflags.Anton Khirnov2012-03-06
| | | | Useful for testing.