diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libfuzzer/xfa_codec_fuzzer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/xfa_codec_fuzzer.h b/testing/libfuzzer/xfa_codec_fuzzer.h index 0d6b43e7b8..5193a8930f 100644 --- a/testing/libfuzzer/xfa_codec_fuzzer.h +++ b/testing/libfuzzer/xfa_codec_fuzzer.h @@ -37,7 +37,7 @@ class XFACodecFuzzer { bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); int32_t frames; - if (decoder->GetFrames(frames) != FXCODEC_STATUS_DECODE_READY || + if (decoder->GetFrames(&frames) != FXCODEC_STATUS_DECODE_READY || frames == 0) { return 0; } |