diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-08-06 23:07:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-09 14:13:34 +0100 |
commit | 859362a6f01dabaf28f189e395724c89b1e89ffd (patch) | |
tree | eaece444259b3acaf500a0797c11fc556260f599 /libavcodec/jacosub.h | |
parent | 114ddf64300fa78663ef35decbee89b5492abb1d (diff) | |
download | ffmpeg-859362a6f01dabaf28f189e395724c89b1e89ffd.tar.gz |
avcodec/pafvideo: Only clear frame when it was written to
This avoids unneeded operations and makes the code faster.
Fixes: Timeout
Fixes: 15724/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PAF_VIDEO_fuzzer-5750842205929472 (12sec -> 9sec)
Fixes: 17625/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PAF_VIDEO_fuzzer-5640515311108096 (16sec -> 4sec)
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/jacosub.h')
0 files changed, 0 insertions, 0 deletions