diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-17 02:13:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-19 22:59:40 +0200 |
commit | 2324ef1ff32e5effd6f295bca80580ae4816be0b (patch) | |
tree | 4789802b905ddd70e412108862bbb54e40fde0d2 /libavcodec/flacenc.c | |
parent | c705476c4788ab7c5e4c4ee00aab9bbc038cf700 (diff) | |
download | ffmpeg-2324ef1ff32e5effd6f295bca80580ae4816be0b.tar.gz |
avcodec/cinepak: move some checks prior to frame allocation
Speeds up decoding from 8 to 3 seconds for 6302/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CINEPAK_fuzzer-5626371985375232
Fixes: Timeout
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/flacenc.c')
0 files changed, 0 insertions, 0 deletions