aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * bink: Check for various out of bound writesLaurent Aimar2011-10-081-5/+14
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * bink: Check for out of bound writes when building treeLaurent Aimar2011-10-081-1/+1
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * put_bits: fix invalid shift by 32 in flush_put_bits()Mans Rullgard2011-10-081-1/+2
| | | | | | | | | | | | | | | | | | If flush_put_bits() is called when the 32-bit buffer is empty, e.g. after writing a multiple of 32 bits, and invalid shift by 32 is performed. Since flush_put_bits() is called infrequently, this additional check should have negligible performance impact. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | qtrle: check for out of bound writes.Laurent Aimar2011-10-091-0/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xxan: check for out of bound accessesLaurent Aimar2011-10-091-3/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | txd: check for out of bound reads.Laurent Aimar2011-10-091-2/+20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | qtrle: check for invalid line offsetLaurent Aimar2011-10-091-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vqavideo: check for out of bound reads.Laurent Aimar2011-10-091-0/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vqa: fix double free on corrupted streamsLaurent Aimar2011-10-091-3/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vqavideo: check for invalid/unsupported versionLaurent Aimar2011-10-091-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eamad: release the reference frame on video size changesLaurent Aimar2011-10-091-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eamad: check for out of bound reads when doing MCLaurent Aimar2011-10-091-2/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eamad: avoid NULL derefence when missing the reference frame.Laurent Aimar2011-10-091-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eatgv: fix pointer arithmetic overflows.Laurent Aimar2011-10-091-10/+15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eatgv: fix out of bound reads on corrupted motions vectors.Laurent Aimar2011-10-091-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eamad: clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary ↵Laurent Aimar2011-10-091-0/+1
| | | | | | | | | | | | buffer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | atrac1: give a valid context pointer to av_log().Laurent Aimar2011-10-091-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: fix gbr24pMichael Niedermayer2011-10-091-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix y/N regression so that \n is always neededMichael Niedermayer2011-10-091-17/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: gbr24p input supportMichael Niedermayer2011-10-094-2/+57
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eval: fix () bug in not.Michael Niedermayer2011-10-091-1/+1
| | | | | | | | | | Found-by: Oded Shimon Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Fix prototypes of *toyv12 so they can be used with planar rgb input.Michael Niedermayer2011-10-093-49/+53
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Start adding pixel definitions for planar rgb.Themaister2011-10-083-0/+14
| |
* | ffmpeg: put space back that was lost during someone reformating it.Michael Niedermayer2011-10-081-1/+1
| | | | | | | | | | Found-by: Ramiro Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dct-test: document the number of bits we use for testing.Michael Niedermayer2011-10-081-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dct-test: better term for meximum error.Michael Niedermayer2011-10-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix read_yn() if HAVE_TERMIOS_H || HAVE_KBHIT == 0Michael Niedermayer2011-10-081-2/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix setting codecs for demuxers.Michael Niedermayer2011-10-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug introduced by: commit e3bf4e292cf999c9b8442a4e23677cab0b4781a9 Author: Anton Khirnov <anton@khirnov.net> Date: Tue Aug 30 04:10:54 2011 +0200 ffmpeg: replace -vcodec/-acodec/-scodec with a better system. The new option doesn't depend on its placement wrt -new* options (which don't exist anymore) and works in a similar way as per-stream AVOptions. -[vas]codec remain as aliases to -codec:[vas] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: limit read_key() calls to get a tiny speed boost.Michael Niedermayer2011-10-081-1/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: avoid multiple redundant av_gettime() calls, rather reuse the value ↵Michael Niedermayer2011-10-081-7/+5
| | | | | | | | | | | | in a iteration of the main loop. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix run_as_daemon when HAVE_TERMIOS_H is falseMichael Niedermayer2011-10-081-4/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: cosmetic renamings to reduce difference to qatar.Michael Niedermayer2011-10-081-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: call term_init() earlierMichael Niedermayer2011-10-081-3/+17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: make q_pressed volatile, it can be changed from signal handlers.Michael Niedermayer2011-10-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: dont call read_key() in decode_interrupt_cb() this can cause keys to ↵Michael Niedermayer2011-10-081-1/+0
| | | | | | | | | | | | | | | | be lost also its slow when read_key() is slow and there are a very large number of calls Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eval: add gcd()Michael Niedermayer2011-10-081-1/+3
| | | | | | | | | | | | example: -vf 'scale=256:256,mp=geq=gcd(X\,Y)-2:128:128' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eval:add hypot()Michael Niedermayer2011-10-081-1/+3
| | | | | | | | | | | | useage example: -vf 'scale=256:256,mp=geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-085-12/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (24 commits) mpegps: Use av_get_packet() instead of poorly emulating it. motionpixels: decode only the 111 complete frames for fate mpc8: Check out of bound bands limit xan: Prevent NULL dereference with missing palette xan: Check for out of bound reads in xan_huffman_decode() xan: Fixed out of bound accesses in xan_unpack() motionpixels: Prevent calling init_vlc() with invalid parameters shorten: Fix out of bound writes in fix_bitshift() dsicinav: Check for out of bounds writes tiertexseqv: Check for out of bound reads quickdraw: Check for out of bound reads dsicinav: Check for out of bounds reads motionpixels: Fix the size of workspace buffers motionpixels: Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffer wmavoice: Check for corrupted extra data wmavoice: Check for out of bound writes xan: Prevent NULL dereferences with missing reference frame bink: Prevent NULL dereferences with missing reference frame wavpack: Reset internal state on corrupted blocks wmapro: Validate the number of audio channels before using it ... Conflicts: libavcodec/h264.c libavcodec/xan.c tests/ref/fate/motionpixels Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegps: Use av_get_packet() instead of poorly emulating it.Alex Converse2011-10-071-8/+1
| |
| * motionpixels: decode only the 111 complete frames for fateJanne Grunau2011-10-072-2/+1
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * mpc8: Check out of bound bands limitLaurent Aimar2011-10-071-0/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * xan: Prevent NULL dereference with missing paletteLaurent Aimar2011-10-071-0/+5
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * xan: Check for out of bound reads in xan_huffman_decode()Laurent Aimar2011-10-071-1/+4
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * xan: Fixed out of bound accesses in xan_unpack()Laurent Aimar2011-10-071-5/+13
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * motionpixels: Prevent calling init_vlc() with invalid parametersLaurent Aimar2011-10-071-0/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * shorten: Fix out of bound writes in fix_bitshift()Laurent Aimar2011-10-071-1/+1
| | | | | | | | | | | | The data pointers s->decoded[*] already take into account s->nwrap. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * dsicinav: Check for out of bounds writesLaurent Aimar2011-10-071-0/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * tiertexseqv: Check for out of bound readsLaurent Aimar2011-10-071-14/+51
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * quickdraw: Check for out of bound readsLaurent Aimar2011-10-071-0/+12
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * dsicinav: Check for out of bounds readsLaurent Aimar2011-10-071-0/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>