diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-17 02:13:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-20 01:53:41 +0200 |
commit | df56bc18efd2afb10e1751e6be1f731d3da54786 (patch) | |
tree | 0b4cb1add13193b16ce32eba6f26324c17fca1a2 /libavcodec/vaapi_mpeg2.c | |
parent | ef99025603913c3dcd6c716f308b83cbf7077ef7 (diff) | |
download | ffmpeg-df56bc18efd2afb10e1751e6be1f731d3da54786.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 'libavcodec/vaapi_mpeg2.c')
0 files changed, 0 insertions, 0 deletions