diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-17 02:13:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | b01b57f7e0428bc0b52828f7cee7cc5f28cf0422 (patch) | |
tree | da24dc8ba315ea9a15e0553664cb1e627866026d /libavformat/tests | |
parent | e7f1090a54c284d008e2b94db2d8cdd668815ae9 (diff) | |
download | ffmpeg-b01b57f7e0428bc0b52828f7cee7cc5f28cf0422.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>
(cherry picked from commit 2324ef1ff32e5effd6f295bca80580ae4816be0b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/tests')
0 files changed, 0 insertions, 0 deletions