aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | svq1dec: use AV_LOG_ERROR for error messagePiotr Bandurski2012-03-091-1/+1
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-099-52/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ttadec: unbreak playback of matroska files vorbisdec: avoid invalid memory access Fix uninitialized reads on malformed ogg files. huffyuv: add padding to classic (v1) huffman tables. png: convert to bytestream2 API. dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2 avs: fix infinite loop on end-of-stream. tiffdec: Prevent illegal memory access caused by recycled pointers. rtpenc: Fix the AVRational used for av_rescale_q_rnd wma: fix off-by-one in array bounds check. Conflicts: libavcodec/huffyuv.c libavcodec/pngdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ttadec: unbreak playback of matroska filesPaul B Mahol2012-03-081-2/+1
| | | | | | | | | | | | | | | | 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-081-0/+3
| | | | | | | | | | | | | | | | | | 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-081-5/+5
| | | | | | | | | | | | | | | | | | | | 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-081-4/+6
| | | | | | | | | | | | | | | | | | | | 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-081-39/+30
| | | | | | | | | | | | | | 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-081-0/+1
| |
| * avs: fix infinite loop on end-of-stream.Ronald S. Bultje2012-03-071-0/+1
| | | | | | | | | | | | | | | | | | 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-071-0/+2
| | | | | | | | | | 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-081-1/+1
| | | | | | | | | | | | | | 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-071-1/+1
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | qpeg: remove unused var from decode_frame()Michael Niedermayer2012-03-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | prores_anatoliy: remove unused variable from prores_encode_frame()Michael Niedermayer2012-03-081-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | configure: enable libutvideo is gpl warningLou Logan2012-03-081-2/+3
| | | | | | | | | | | | This will warn the user when --enable-gpl is missing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | oggparseogm: Fix order or arguments.Michael Niedermayer2012-03-081-1/+1
| | | | | | | | | | | | Bug introduced by libav in 1bb3990b560e7ff7f46c06c14f959fe432e0b625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: Discard invalid CTTS.Michael Niedermayer2012-03-081-0/+8
| | | | | | | | | | | | Fixes Ticket385 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/utils: fix three const warnings.Nicolas George2012-03-081-3/+3
| | | | | | | | No change in assembly code produced on x86_64.
* | ffplay: fix two const warnings.Nicolas George2012-03-081-2/+2
| | | | | | | | No change in assembly code produced on x86_64.
* | vf_pad: keep a reference to the output buffer.Nicolas George2012-03-081-9/+2
| | | | | | | | | | | | | | | | Once fixed, the end_frame function does exactly what avfilter_default_end_frame does; therefore, end_frame can be removed to let avfilter_default_end_frame work. Fixes ticket #1038.
* | doc/ffmpeg.texi: apply misc fixes to the -map_channel documentationStefano Sabatini2012-03-081-11/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-0841-768/+805
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) sbrdsp.asm: convert all instructions to float/SSE ones. dv: cosmetics. dv: check buffer size before reading profile. Revert "AAC SBR: group some writes." udp: Print an error message if bind fails cook: extend channel uncoupling tables so the full bit range is covered. roqvideo: cosmetics. roqvideo: convert to bytestream2 API. dca: don't use av_clip_uintp2(). wmall: fix build with -DDEBUG enabled. smc: port to bytestream2 API. AAC SBR: group some writes. dsputil: remove shift parameter from scalarproduct_int16 SBR DSP: unroll sum_square rv34: remove dead code in intra availability check rv34: clean a bit availability checks. v4l2: update documentation tgq: convert to bytestream2 API. parser: remove forward declaration of MpegEncContext dca: prevent accessing static arrays with invalid indexes. ... Conflicts: doc/indevs.texi libavcodec/Makefile libavcodec/dca.c libavcodec/dvdata.c libavcodec/eatgq.c libavcodec/mmvideo.c libavcodec/roqvideodec.c libavcodec/smc.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sbrdsp.asm: convert all instructions to float/SSE ones.Reimar Döffinger2012-03-071-8/+8
| | | | | | | | | | | | | | | | | | | | | | 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-071-15/+15
| |
| * dv: check buffer size before reading profile.Ronald S. Bultje2012-03-071-3/+5
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * Revert "AAC SBR: group some writes."Ronald S. Bultje2012-03-071-6/+12
| | | | | | | | | | This reverts commit ba36f14e5d34bcca6ecf77ba1c7512d1b51a9740. It broke decoding on x86-32 on some systems.
| * udp: Print an error message if bind failsMartin Storsjö2012-03-071-1/+3
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * cook: extend channel uncoupling tables so the full bit range is covered.Ronald S. Bultje2012-03-072-7/+24
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * roqvideo: cosmetics.Ronald S. Bultje2012-03-071-16/+16
| |
| * roqvideo: convert to bytestream2 API.Ronald S. Bultje2012-03-072-36/+37
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * dca: don't use av_clip_uintp2().Ronald S. Bultje2012-03-071-1/+1
| | | | | | | | | | 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-071-9/+8
| |
| * smc: port to bytestream2 API.Ronald S. Bultje2012-03-071-42/+32
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * AAC SBR: group some writes.Christophe Gisquet2012-03-071-12/+6
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * dsputil: remove shift parameter from scalarproduct_int16Christophe GISQUET2012-03-076-38/+9
| | | | | | | | | | | | | | | | | | 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-071-4/+9
| | | | | | | | | | | | | | | | 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-071-15/+0
| | | | | | | | | | | | | | 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-071-10/+10
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * v4l2: update documentationLuca Barbato2012-03-071-24/+10
| | | | | | | | | | Update the examples and remove stale information. Video4linux support had been already removed.
| * tgq: convert to bytestream2 API.Ronald S. Bultje2012-03-071-28/+28
| | | | | | | | | | | | | | 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-071-2/+0
| | | | | | | | | | 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-072-12/+27
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * raw: move buffer size check up.Ronald S. Bultje2012-03-071-3/+3
| | | | | | | | | | | | | | 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-071-1/+1
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * swscale: clip unscaled output intermediates.Ronald S. Bultje2012-03-071-0/+36
| | | | | | | | | | 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-071-1/+8
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * algmm: convert to bytestream2 API.Ronald S. Bultje2012-03-071-38/+51
| | | | | | | | | | 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-077-50/+102
| |
| * vc1: Move init code shared between decoder and parser to common code file.Diego Biurrun2012-03-076-369/+375
| | | | | | | | 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-071-10/+0
| |