tools/target_dec_fuzzer: Also Fuzz with CPU optimizations disabled

This should improve coverage of *_c()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/343/head
Michael Niedermayer 5 years ago
parent 4b733a7f5f
commit 00447b6f52
  1. 2
      tools/target_dec_fuzzer.c

@ -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);

Loading…
Cancel
Save