summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* xan: Prevent NULL dereference with missing paletteLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* xan: Check for out of bound reads in xan_huffman_decode()Laurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* xan: Fixed out of bound accesses in xan_unpack()Laurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* motionpixels: Prevent calling init_vlc() with invalid parametersLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* shorten: Fix out of bound writes in fix_bitshift()Laurent Aimar2011-10-07
| | | | | | 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-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* tiertexseqv: Check for out of bound readsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* quickdraw: Check for out of bound readsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dsicinav: Check for out of bounds readsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* motionpixels: Fix the size of workspace buffersLaurent Aimar2011-10-07
| | | | | | Some buffers must be mod 4 in width and/or height. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* motionpixels: Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the ↵Laurent Aimar2011-10-07
| | | | | | temporary buffer Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* wmavoice: Check for corrupted extra dataLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* wmavoice: Check for out of bound writesLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* xan: Prevent NULL dereferences with missing reference frameLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* bink: Prevent NULL dereferences with missing reference frameLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* wavpack: Reset internal state on corrupted blocksLaurent Aimar2011-10-07
| | | | | | | | wavpack_decode_block() supposes that it is called back with the exact same buffer unless it has returned with an error. With multi-channels files, wavpack_decode_frame() was breaking this assumption. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* wmapro: Validate the number of audio channels before using itLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* shorten: Prevent block size from increasingLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* xan: Prevent out of bound accessesLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* H264: Only wait before triggering ff_thread_setup_complete() until the next ↵Michael Niedermayer2011-10-07
| | | | | | | | | | | | slice that contains a start-of-field/frame macroblock This allows concurrent decoding of the last field/frame, rather than only the last slice, of data packets with multiple NAL units packed together. This will fix the slowdown reported in e.g. bug 52. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp6: Reset the internal state when aborting key frames header parsingLaurent Aimar2011-10-07
| | | | | | It prevents leaving the state only half initialized. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp56: Release old pictures after a resolution changesLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp6: Check for huffman tree build errorsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp56: Check for missing reference frame dataLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* cinepak: Fix invalid read access on extra dataLaurent Aimar2011-10-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vmd: fix segfaults on corruped streamsLaurent Aimar2011-10-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* cook: Fix js_vlc_bits value validation for joint stereoLaurent Aimar2011-10-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Fixed deference of NULL pointer in motionpixels decoder.Laurent Aimar2011-10-06
| | | | | | | Some of the arguments given to init_vlc() come from the stream and can be corrupted. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* libx264: support 9- and 10-bit output.Anton Khirnov2011-10-06
|
* h264: correct implicit_weight for field-interlaced pictures.Ronald S. Bultje2011-10-05
|
* mpegvideo: set correct offset for edge emulation buffer.Ronald S. Bultje2011-10-05
| | | | | Using the old code, half of it was unused and the other half was too small for e.g. >8bpp interlaced data, causing random buffer overruns.
* mpegvideo: fix position of bottom edge.Ronald S. Bultje2011-10-05
| | | | | It was wrong in colorspaces where horizontal and vertical chroma subsampling are not the same, e.g. 422.
* Fix 'heigth' vs. 'height' typos.Diego Biurrun2011-10-05
|
* lavc/lavf: use unique private classes.Anton Khirnov2011-10-05
| | | | This is needed by the new AVOptions API.
* lavc: use designated initializers for av_codec_context_classAnton Khirnov2011-10-05
|
* qcelpdec: cosmetics: do not add line break before opening bracket in 'for',Justin Ruggles2011-10-04
| | | | | | 'while', 'if/else', and 'switch' statements. also fixes some spacing, but only if already changing a line
* qcelp: check output buffer size before decodingJustin Ruggles2011-10-04
|
* qcelpdec: fix the return value of qcelp_decode_frame().Chris Rankin2011-10-04
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* sipr: fix the output data size check and only calculate it once.Justin Ruggles2011-10-04
|
* Synchronize various 4CCs and codec tags from FFmpeg.Diego Biurrun2011-10-04
|
* qdm2: check output buffer size before decodingJustin Ruggles2011-10-03
|
* Fix out of bound reads in the QDM2 decoder.Laurent Aimar2011-10-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Check for out of bound writes in the QDM2 decoder.Laurent Aimar2011-10-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* libvpx: fix build with older libvpx versions.Anton Khirnov2011-10-03
| | | | | | VPX_ERROR_RESILIENT_DEFAULT and VPX_ERROR_RESILIENT_PARTITIONS weren't defined before 4cb0ebe5b27d35ccc2a78c1d16f2622ddef21f74 (CommitDate: Tue Jun 28 11:10:17 2011)
* ARM: check for inline asm 'y' operand modifier supportMans Rullgard2011-10-03
| | | | | | | | The inline asm added in bf5d46d uses the 'y' modifier which is only supported from gcc 4.5. This check allows building with older compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpc8: check output buffer size before decodingJustin Ruggles2011-10-02
|
* mpc7: return error if packet is too small.Justin Ruggles2011-10-02
|
* mpc7: check output buffer size before decodingJustin Ruggles2011-10-02
|
* nellymoserdec: allocate float_buf only when decoding to int16Justin Ruggles2011-10-02
|
* nellymoserdec: use NELLY_BUF_LEN instead of 128Justin Ruggles2011-10-02
|