summaryrefslogtreecommitdiff
path: root/libavcodec/fmvc.c
Commit message (Collapse)AuthorAge
* avcodec: Constify AVCodecsAndreas Rheinhardt2021-04-27
| | | | | | | | | | Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/fmvc: avoid copying uninitialized dataMichael Niedermayer2021-02-14
| | | | | | | | Fixes: Timeout Fixes: 30049/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FMVC_fuzzer-5986909455253504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/fmvc: Check if header fields are available before allocating the imageMichael Niedermayer2019-06-21
| | | | | | | | | Fixes: Timeout (15sec -> 0.5sec) Fixes: 14846/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FMVC_fuzzer-5068322120400896 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/fmvc: use correct pixel format on big-endian for 16 bppPaul B Mahol2018-09-08
|
* Merge commit '95a8a03a191204c3ca5c8cf6b69ab166765d5ff3'James Almer2017-10-27
|\ | | | | | | | | | | | | * commit '95a8a03a191204c3ca5c8cf6b69ab166765d5ff3': Add FM Screen Capture Codec decoder Merged-by: James Almer <jamrial@gmail.com>
| * Add FM Screen Capture Codec decoderPaul B Mahol2017-04-13
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec/fmvc: Fix use of uninitialized memory when the first frame is not a ↵Max Justicz2017-05-23
| | | | | | | | keyframe Fixes: fmvc-poc.avi Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/fmvc: Fix off by 1 errorMichael Niedermayer2017-05-17
| | | | | | | | Fixes: out of array access Fixes: 1643/clusterfuzz-testcase-minimized-6117573403869184 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/fmvc: Check nb_blocksMichael Niedermayer2017-05-13
| | | | | | | | Fixes: out of array read Fixes: 1508/clusterfuzz-testcase-minimized-5011336327069696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/fmvc: small refactoring in decode_type1()Diego Biurrun2017-03-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/fmvc: initialize opcode to 0Paul B Mahol2017-02-24
| | | | | | It shouldn't really matter but it doesn't hurt. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/fmvc: fix decoding of odd size videosPaul B Mahol2017-02-17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: add FM Screen Capture Codec decoderPaul B Mahol2017-02-12
Signed-off-by: Paul B Mahol <onemda@gmail.com>