summaryrefslogtreecommitdiff
path: root/libavcodec/clearvideo.c
Commit message (Collapse)AuthorAge
* avcodec/decode: add a flags parameter to ff_reget_buffer()James Almer2019-09-04
| | | | | | | | | | Some decoders may not need a writable buffer in some specific cases, but only a reference to the existing buffer with updated frame properties instead, for the purpose of returning duplicate frames. For this, the FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential allocations and buffer copies when they are not needed. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/clearvideo: fix invalid shift in tile size checkMichael Niedermayer2019-08-03
| | | | | | | | Fixes: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 15631/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5690110605000704 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Check remaining data in P framesMichael Niedermayer2019-03-17
| | | | | | | | Fixes: Timeout (19sec -> 419msec) Fixes: 13411/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5733153811988480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Check remaining input bits in P macro block loopMichael Niedermayer2018-12-14
| | | | | | | | Fixes: Timeout Fixes: 11083/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5657180351496192 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: display warning if decoder overreads inputPaul B Mahol2018-04-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/clearvideo: do not try to return frame when it is same as previous onePaul B Mahol2018-04-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/clearvideo: Allow decoding without extradata.Carl Eugen Hoyos2018-04-07
|
* avcodec/clearvideo: fix mixed code and declarationsJames Almer2018-04-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/clearvideo: add inter-frame decodingPaul B Mahol2018-04-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '189157c3fc8eeb691e3684b09d971eb5ddb47d5b'James Almer2017-10-30
|\ | | | | | | | | | | | | | | | | * commit '189157c3fc8eeb691e3684b09d971eb5ddb47d5b': Add ClearVideo decoder See a63496cc882428aefafc85d2f60e0908b020bffe Merged-by: James Almer <jamrial@gmail.com>
| * Add ClearVideo decoderKostya Shishkov2017-04-25
| | | | | | Only I-frames are decoded for now. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec/clearvideo: Only output a frame if one is coded in the packetMichael Niedermayer2017-09-11
| | | | | | | | Fixes: Timeout (183 ms instead of about 20 sec) Fixes: 3147/clusterfuzz-testcase-4870592182353920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Check buf_size before decoding frameMichael Niedermayer2017-05-26
| | | | | | | | Fixes; Timeout Fixes: 1826/clusterfuzz-testcase-minimized-5728569256837120 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Fix runtime error: signed integer overflow: 181 * ↵Michael Niedermayer2017-05-09
| | | | | | | | | 18050756 cannot be represented in type 'int' Fixes: 1417/clusterfuzz-testcase-minimized-6606778030620672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Fix multiple runtime error: left shift of negative value ↵Michael Niedermayer2017-05-06
| | | | | | | | | -1024 Fixes: 1360/clusterfuzz-testcase-minimized-5606472043986944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/clearvideo: Do not lose the return code of decode_mb()Michael Niedermayer2017-03-30
| | | | | | | | Fixes CID1401671 Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> 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: add ClearVideo decoderKostya Shishkov2017-03-02
Only I-frames are decoded for now. Signed-off-by: Paul B Mahol <onemda@gmail.com>