Andreas Rheinhardt
cfa47fd331
all: Use av_frame_replace() where appropriate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2023-09-10 21:22:30 +02:00
Michael Niedermayer
5cc378cc46
avcodec/pdvdec: Check previous frame before using it
...
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 >
2023-05-06 00:22:23 +02:00
James Almer
dc7bd7c5a5
avcodec: use the new AVFrame key_frame flag in all decoders and encoders
...
Signed-off-by: James Almer <jamrial@gmail.com >
2023-05-04 18:48:22 -03:00
James Almer
adeb5b6c67
avcodec/pdvdec: honor the requested avctx->skip_frame value
...
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 >
2023-04-20 13:04:34 -03:00
Paul B Mahol
0dceda12e7
avcodec/pdvdec: fix leaks on init failure and when seeking
2023-04-20 17:13:45 +02:00
Paul B Mahol
40bae5be5e
avcodec: add PDV decoder
2023-04-20 15:44:38 +02:00