summaryrefslogtreecommitdiff
path: root/libavcodec/ylc.c
Commit message (Collapse)AuthorAge
* avcodec/ylc: Fix shift overflowMichael Niedermayer2017-07-24
| | | | | | | | Fixes: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int' Fixes: 2698/clusterfuzz-testcase-minimized-4713541443518464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ylc: Fix vlc of 31 bitsMichael Niedermayer2017-07-08
| | | | | | | | | Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 2515/clusterfuzz-testcase-minimized-6197200012967936 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ylc: Check count in build_vlc()Michael Niedermayer2017-05-28
| | | | | | | | Fixes: runtime error: signed integer overflow: 211633430 + 2147483647 cannot be represented in type 'int' Fixes: 1874/clusterfuzz-testcase-minimized-5037763613163520 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ylc: thread safe initialization is possible with this codecPaul B Mahol2016-12-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/ylc: add frame threading supportPaul B Mahol2016-12-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/ylc: do not leak memory at uninitPaul B Mahol2016-12-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: add YUY2 Lossless Codec decoderPaul B Mahol2016-06-26
Signed-off-by: Paul B Mahol <onemda@gmail.com>