1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-17 20:17:55 +02:00

tools/target_dec_fuzzer: Also Fuzz with CPU optimizations disabled

This should improve coverage of *_c()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2019-12-29 17:13:21 +01:00
parent 4b733a7f5f
commit 00447b6f52

View File

@ -204,6 +204,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (flags & 0x10)
ctx->flags2 |= AV_CODEC_FLAG2_FAST;
if (flags & 0x40)
av_force_cpu_flags(0);
extradata_size = bytestream2_get_le32(&gbc);