Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dfa: Disallow odd width/height and add proper bounds check for DDS1 chunks | Diego Biurrun | 2017-08-13 | 1 | -1/+3 |
| | | | | | | | | | DDS1 chunks are decoded in 2x2 blocks, odd chunk width or height is not allowed in that case. Also ensure that the decode buffer is big enough for all blocks being processed. Bug-Id: CVE-2017-9992 CC: libav-stable@libav.org | ||||
* | Mark some arrays that never change as const. | Anton Khirnov | 2017-02-01 | 1 | -1/+1 |
| | |||||
* | lavc: AV-prefix all codec capabilities | Vittorio Giovara | 2015-07-27 | 1 | -1/+1 |
| | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | avcodec: more correct printf specifiers | Diego Biurrun | 2014-03-22 | 1 | -1/+4 |
| | |||||
* | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | 2013-10-03 | 1 | -1/+1 |
| | |||||
* | dfa: implement missing TDLT coding method | Kostya Shishkov | 2013-04-09 | 1 | -4/+21 |
| | |||||
* | dfa: check for invalid access in decode_wdlt(). | Anton Khirnov | 2013-04-04 | 1 | -0/+2 |
| | | | | | | | | This can happen when the number of skipped lines is not consistent with the number of coded lines. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -14/+6 |
| | |||||
* | lavc: fix decode_frame() third parameter semantics for video decoders | Anton Khirnov | 2012-12-04 | 1 | -2/+2 |
| | | | | It's got_frame, not data size | ||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+2 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | avutil: Move memcpy_backptr() to mem.c | Diego Biurrun | 2012-10-25 | 1 | -1/+1 |
| | | | | The function is used elsewhere and does not belong with the LZO code. | ||||
* | dfa: use av_memcpy_backptr() where previously impossible | Mans Rullgard | 2012-10-23 | 1 | -3/+1 |
| | | | | | | | Since the requirement for output padding has been lifted, we can use av_memcpy_backptr() here as well. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | av_memcpy_backptr: Drop no longer necessary malloc padding | Diego Biurrun | 2012-10-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -1/+1 |
| | |||||
* | dfa: improve boundary checks in decode_dds1() | Anton Khirnov | 2012-09-29 | 1 | -4/+6 |
| | | | | | | Fixes CVE-2012-2798 CC:libav-stable@libav.org | ||||
* | dfa: check that the caller set width/height properly. | Anton Khirnov | 2012-09-29 | 1 | -0/+6 |
| | | | | Fixes CVE-2012-2786. | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | dfa: use more meaningful return codes | Kostya Shishkov | 2012-05-06 | 1 | -27/+27 |
| | |||||
* | dfa: add some checks to ensure that decoder won't write past frame end | Kostya Shishkov | 2012-05-06 | 1 | -1/+7 |
| | |||||
* | cosmetics: Align codec declarations | Martin Storsjö | 2012-04-06 | 1 | -1/+1 |
| | | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | dfa: convert to bytestream2 API | Paul B Mahol | 2012-03-12 | 1 | -89/+74 |
| | | | | | | | Protects from overreads. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | lavc: use designated initialisers for all codecs. | Anton Khirnov | 2011-07-29 | 1 | -9/+8 |
| | | | | It's more readable and less prone to breakage. | ||||
* | dfa: Remove unused variable. | Diego Biurrun | 2011-05-15 | 1 | -1/+0 |
| | | | | | This fixes the warning: libavcodec/dfa.c:189: warning: unused variable ‘frame_end’ | ||||
* | dfa: fix buffer overflow checks to avoid integer overflows. | Reimar Döffinger | 2011-05-13 | 1 | -16/+19 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | dfa: protect pointer range checks against overflows. | Ronald S. Bultje | 2011-03-29 | 1 | -3/+3 |
| | |||||
* | Chronomaster DFA decoder | Kostya Shishkov | 2011-03-28 | 1 | -0/+395 |
Signed-off-by: Anton Khirnov <anton@khirnov.net> |