summaryrefslogtreecommitdiff
path: root/libavcodec/xpmdec.c
Commit message (Collapse)AuthorAge
* avcodec/xpmdec: Do not use context dimensions as temporary variablesMichael Niedermayer2019-06-25
| | | | | | | | Fixes: Integer overflow Fixes: 15134/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XPM_fuzzer-5722635939348480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/xpmdec: define constantsPaul B Mahol2018-12-10
|
* avcodec/xpmdec: fix small artifactsPaul B Mahol2018-12-10
| | | | The max size of uint8_t subset is 223 not 220.
* lavc/xpmdec: Allow more colours per character.Carl Eugen Hoyos2018-12-10
| | | | Fixes ticket #6234.
* avcodec/xpmdec: Fix multiple pointer/memory issuesMichael Niedermayer2017-05-12
| | | | | | | | | Most of these were found through code review in response to fixing 1466/clusterfuzz-testcase-minimized-5961584419536896 There is thus no testcase for most of this. The initial issue was Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: stop using deprecated codec flagsJames Almer2017-03-25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/xpmdec: there are XPM files with dos line endingsPaul B Mahol2017-03-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: avoid "magic" numbers in function hex_char_to_number()Paul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: fix colors values which are different for X11Paul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: do not allow number of colors to be higher than allocatedPaul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: rename yet another functionPaul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: rename convert to hex_char_to_numberPaul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: improve comment for one function and also fix 2 identation ↵Paul B Mahol2017-03-12
| | | | | | issues Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: skip everything before signaturePaul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/xpmdec: make convert function more picky about its inputPaul B Mahol2017-03-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: add XPM decoder and demuxerParas Chadha2017-03-12
Signed-off-by: Paras Chadha <paraschadha18@gmail.com>