diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-02-21 17:25:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-02-23 22:48:35 +0100 |
commit | 177b40890c6de8c6896e0a1d4a631ea1ca89c044 (patch) | |
tree | 718abb5af516fa8ee8d4f89540ed19a3bb720d9c /libavformat/unix.c | |
parent | 61523683c5a9bda9aaa7ae24764a3df0401a9877 (diff) | |
download | ffmpeg-177b40890c6de8c6896e0a1d4a631ea1ca89c044.tar.gz |
avcodec/zmbv: obtain frame later
The frame is not needed that early so obtaining it later avoids
the costly operation in case other checks fail.
Fixes: Timeout (14sec -> 4sec)
Fixes: 13140/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-5738330308739072
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/unix.c')
0 files changed, 0 insertions, 0 deletions