aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | matroska: check buffer size for RM-style byte reordering.Ronald S. Bultje2012-03-021-3/+19
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | vp8: disable mmx functions with sse/sse2 counterparts on x86-64.Ronald S. Bultje2012-03-022-4/+35
| | | | | | | | | | | | | | | x86-64 is guaranteed to have at least SSE2, therefore the MMX/MMX2 functions will never be used in practice.
| * | vp8: change int stride to ptrdiff_t stride.Ronald S. Bultje2012-03-025-148/+178
| | | | | | | | | | | | | | | On 64bit platforms with 32bit int, this means we won't have to sign- extend the integer anymore.
| * | wma: fix invalid buffer size assumptions causing random overreads.Ronald S. Bultje2012-03-022-4/+11
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | Windows Media Audio Lossless decoderMashiat Sarker Shakkhar2012-03-026-1/+1253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decodes 16-bit WMA Lossless encoded files. 24-bit is not supported yet. Bitstream parser written by Andreas Öman with contributions from Baptiste Coudurier and Ulion. Includes a number of bug-fixes from Benjamin Larsson, Michael Niedermayer and Konstantin Shishkov, shine and polish by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * | rv10/20: Fix slice overflow with checked bitstream reader.Alex Converse2012-03-021-7/+21
| | |
| * | h263dec: Disallow width/height changing with frame threads.Michael Niedermayer2012-03-021-2/+7
| | | | | | | | | | | | | | | | | | | | | Fixes CVE-2011-3937 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| * | rv10/20: Fix a buffer overread caused by losing track of the remaining ↵Alex Converse2012-03-021-1/+5
| | | | | | | | | | | | | | | | | | | | | buffer size. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | rmdec: Honor .RMF tag size rather than assuming 18.Alex Converse2012-03-021-4/+2
| | |
| * | g722: Fix the QMF scalingMartin Storsjö2012-03-025-176/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes clipping if the encoder input used the full 16 bit input range (samples with a magnitude below 16383 worked fine). The filtered subband samples should be 15 bit maximum, while the code earlier produced them scaled to 16 bit. This makes the decoder output have double the magnitude compared to before. The spec reference samples doesn't test the QMF at all, which was why this part slipped past initially. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | r3d: don't set codec timebase.Anton Khirnov2012-03-021-11/+16
| | | | | | | | | | | | | | | | | | It's not supposed to be set by demuxers. Set avg_frame_rate and r_frame_rate instead.
| * | electronicarts: set timebase for tgv video.Anton Khirnov2012-03-023-88/+88
| | | | | | | | | | | | | | | | | | | | | | | | The container has no timestamps and the framerate isn't stored in the data either. The decoder sets codec timebase to experimentally found value 1/15. Do the same for the demuxer too, it should at least be better than the default 1/90000.
| * | electronicarts: parse the framerate for cmv video.Anton Khirnov2012-03-022-197/+210
| | |
| * | ogg: don't set codec timebaseAnton Khirnov2012-03-022-11/+9
| | | | | | | | | | | | Demuxers are not supposed to set it.
| * | electronicarts: don't set codec timebaseAnton Khirnov2012-03-024-391/+393
| | | | | | | | | | | | | | | | | | Demuxers are not supposed to set it. Set stream timebase and framerates instead (this is a cfr container with no timestamps).
| * | avs: don't set codec timebaseAnton Khirnov2012-03-021-2/+2
| | | | | | | | | | | | | | | Demuxers are not supposed to set it. Set r_frame_rate and avg_frame_rate instead.
| * | wavpack: Fix an integer overflowDerek Buitenhuis2012-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integer Overflow Checker detected an integer overflow while FATE was running. See: http://fate.libav.org/x86_64-linux-ioc/ Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * | swscale: K&R formatting cosmetics for PowerPC code (part II/II)Diego Biurrun2012-03-021-612/+642
| | |
| * | mp3dec: Fix reading file size and frames in VBRI headersIngo Brückl2012-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes" come first, "Frames" behind. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | mjpegdec: use correct variable in av_log invocationDiego Biurrun2012-03-011-1/+1
| | | | | | | | | | | | libavcodec/mjpegdec.c:1463: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘const uint8_t *’
| * | rmdec: adjust printf format string specifier to fix warningDiego Biurrun2012-03-011-1/+1
| | | | | | | | | | | | libavformat/rmdec.c:383: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘int64_t’
| * | Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun2012-03-0118-50/+38
| | |
| * | Replace AVFrame pointer casts by proper struct member accesses.Diego Biurrun2012-03-018-51/+67
| | |
| * | Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-0128-42/+42
| | |
| * | msmpeg4: Split encoding backend code off from general backend code.Diego Biurrun2012-03-016-690/+734
| | |
| * | lavc: shrink encoded video packet size after encoding.Anton Khirnov2012-03-011-0/+6
| | | | | | | | | | | | Based on a patch by Nicolas George <nicolas.george <at> normalesup.org>
* | | simple_idct: idct_4col_put: Fix out of array reads.Michael Niedermayer2012-03-021-5/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | rawdec: fix input overread.Michael Niedermayer2012-03-021-2/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | truemotion1: Check input buffer size against header size.Michael Niedermayer2012-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mjpeg: Check for interlaced progressive framesMichael Niedermayer2012-03-021-1/+6
| | | | | | | | | | | | | | | | | | | | | Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | snow: check reference frame indices.Michael Niedermayer2012-03-021-9/+21
| | | | | | | | | | | | | | | | | | | | | Fixes NULL ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | huffyuv: pad classic huffman tables so as to avoid bitreader overread.Michael Niedermayer2012-03-021-4/+6
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1: mquant is not allowed to be 0Michael Niedermayer2012-03-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes out of bounds read. Checked against SMPTE 421M-2006 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | h263: fix zygo debug printing overreading.Michael Niedermayer2012-03-021-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | wmadec: fix off by 1 error on the pow_tab index check.Michael Niedermayer2012-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes global out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | timefilter: better selftest code.Michael Niedermayer2012-03-021-3/+9
| | | | | | | | | | | | | | | | | | Add support for divergence detection and variable period. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | h261: check mtype.Michael Niedermayer2012-03-021-0/+4
| | | | | | | | | | | | | | | | | | | | | Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: fix update_initial_durations() so it handles missing durations with ↵Michael Niedermayer2012-03-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | the initial timestamp being known. This fixes duplicate timestamps on mp2 in ts with non seekable input. It also fixed the fate pva demux timestamps. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | wavpack: Fix an integer overflowDerek Buitenhuis2012-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Integer Overflow Checker detected an integer overflow while FATE was running. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | fate: Add sunrast regression testDerek Buitenhuis2012-03-022-0/+7
| | | | | | | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | roqvideodec: improve end of input buffer checkMichael Niedermayer2012-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes a out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-0115-52/+265
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: error out on invalid bitdepth. aacsbr: use a swap index for the Y matrix rather than copy buffers. huffyuv: do not abort on unknown pix_fmt; instead, return an error. lcl: return negative error codes on decode_init() errors. rtpenc: Use MB info side data for splitting H263 packets for RFC 2190 h263enc: Add an option for outputting info about MBs as side data avpacket: Add a function for shrinking already allocated side data nellymoserdec: Saner and faster IMDCT windowing Conflicts: doc/APIchanges libavcodec/avpacket.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | h264: error out on invalid bitdepth.Ronald S. Bultje2012-03-011-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes invalid reads while initializing the dequant tables, which uses the bit depth to determine the QP table size. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | aacsbr: use a swap index for the Y matrix rather than copy buffers.Christophe Gisquet2012-03-012-14/+20
| | | | | | | | | | | | Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | huffyuv: do not abort on unknown pix_fmt; instead, return an error.Ronald S. Bultje2012-03-011-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | lcl: return negative error codes on decode_init() errors.Ronald S. Bultje2012-03-011-7/+7
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | rtpenc: Use MB info side data for splitting H263 packets for RFC 2190Martin Storsjö2012-03-013-12/+108
| | | | | | | | | | | | | | | | | | | | | This makes the packetization spec compliant for cases where one single GOB doesn't fit into an RTP packet. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | h263enc: Add an option for outputting info about MBs as side dataMartin Storsjö2012-03-014-1/+80
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | avpacket: Add a function for shrinking already allocated side dataMartin Storsjö2012-03-014-1/+31
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | nellymoserdec: Saner and faster IMDCT windowingVitor Sessak2012-02-291-8/+8
| | | | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>