You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -204,6 +204,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
if (flags & 0x10)
|
if (flags & 0x10)
|
||||||
ctx->flags2 |= AV_CODEC_FLAG2_FAST;
|
ctx->flags2 |= AV_CODEC_FLAG2_FAST;
|
||||||
|
|
||||||
|
if (flags & 0x40)
|
||||||
|
av_force_cpu_flags(0);
|
||||||
|
|
||||||
extradata_size = bytestream2_get_le32(&gbc);
|
extradata_size = bytestream2_get_le32(&gbc);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user