summaryrefslogtreecommitdiff
path: root/libavcodec/pdvdec.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/pdvdec: Check previous frame before using itMichael Niedermayer2023-05-061-1/+1
| | | | | | | | | Fixes: load of null pointer of type 'uint8_t' (aka 'unsigned char') Fixes: 58256/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PDV_fuzzer-4776436325285888 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: use the new AVFrame key_frame flag in all decoders and encodersJames Almer2023-05-041-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/pdvdec: honor the requested avctx->skip_frame valueJames Almer2023-04-201-0/+5
| | | | | | | | The decoder is tagged as being FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM, so might as well make use of it. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/pdvdec: fix leaks on init failure and when seekingPaul B Mahol2023-04-201-1/+10
|
* avcodec: add PDV decoderPaul B Mahol2023-04-201-0/+127