diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-23 19:41:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 19:51:56 +0100 |
commit | 0c6d17ae872b3584628bf44368242cbc03122a0f (patch) | |
tree | 3c25ecc624e81979aba44892111a0c4d696fbbee /libavutil/x86/asm.h | |
parent | c599f7ed762427f0fcc46d1675a388d3cda48ae1 (diff) | |
download | ffmpeg-0c6d17ae872b3584628bf44368242cbc03122a0f.tar.gz |
avcodec/cook: Check samples_per_channel earlier
Fixes: division by zero
Fixes: 18362/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COOK_fuzzer-5653727679086592
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 57750bb629a145326e20b8760f21f1041464a937)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/x86/asm.h')
0 files changed, 0 insertions, 0 deletions