aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tee_common.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-06 23:07:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-09 14:13:34 +0100
commit859362a6f01dabaf28f189e395724c89b1e89ffd (patch)
treeeaece444259b3acaf500a0797c11fc556260f599 /libavformat/tee_common.c
parent114ddf64300fa78663ef35decbee89b5492abb1d (diff)
downloadffmpeg-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 'libavformat/tee_common.c')
0 files changed, 0 insertions, 0 deletions