summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix a bunch of common typos.Diego Biurrun2012-03-09
|
* build: Skip compiling xvmc.h under the correct condition.Diego Biurrun2012-03-09
|
* configure: darwin: Change dylib install names to include major version.Gil Pedersen2012-03-09
| | | | | | | This will cause linkers to link against the major lib names, instead of the base names, allowing multiple major versions of the libraries to co-exist. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegts: Always honor a registration descriptor if present and there is no ↵Alex Converse2012-03-09
| | | | other codec information.
* aacdec: Fix SCE parity check.Michael Niedermayer2012-03-09
| | | | | | | | | An unpaired SCE preceding a CPE only makes sense for front SCEs preceding the first CPE. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacdec: Fix out of array writes (stack).Michael Niedermayer2012-03-09
| | | | | | | | | | | | Set the element to channel vector (e2c_vec) size to be the maximum number of aac channel elements. This makes it slightly larger than it needs to be because CCEs are never mapped to output channel locations. Also add a check that all input tags (legal or not) will fit. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
* rtsp: Only set the ttl parameter if the server actually gave a valueMartin Storsjö2012-03-09
| | | | | | | Passing ttl=0 to the rtp/udp url contexts makes packets never leave the host machine. Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Set ttl for read-write streams, too, not only for write-only onesMartin Storsjö2012-03-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>