mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
Fuzzers: Use ImageDecoderPlugin::frame() in image decoder fuzzers
Let's work towards getting rid of the first-frame-only bitmap() API.
This commit is contained in:
parent
578a576a98
commit
750f1d580a
7 changed files with 7 additions and 7 deletions
|
@ -11,6 +11,6 @@
|
|||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
Gfx::PBMImageDecoderPlugin decoder(data, size);
|
||||
(void)decoder.bitmap();
|
||||
(void)decoder.frame(0);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue