diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-17 02:13:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:03 +0200 |
commit | 205e93fa0d2b66e6e84576542e17bfba36e309a9 (patch) | |
tree | 430f5ca0a253e79a49fa208ae3760aa052350089 /doc/examples/encode_video.c | |
parent | 47c3d2459e953856d7089bbf3d5baa269080bcc0 (diff) | |
download | ffmpeg-205e93fa0d2b66e6e84576542e17bfba36e309a9.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 'doc/examples/encode_video.c')
0 files changed, 0 insertions, 0 deletions