diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2023-02-18 16:09:16 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-18 23:56:24 +0100 |
commit | 856d0202f2fb32df47a45844775c1dbba08c24a7 (patch) | |
tree | db86ff86ee8c07fce4e44d3bac2e6abdf8a59472 /Meta/Lagom/Fuzzers | |
parent | ab298ca106e0d2aba871cf8dae164e8fcfd7f90b (diff) | |
download | serenity-856d0202f2fb32df47a45844775c1dbba08c24a7.zip |
LibGfx: Rename `JPGLoader` to `JPEGLoader`
The patch also contains modifications on several classes, functions or
files that are related to the `JPGLoader`.
Renaming include:
- JPGLoader{.h, .cpp}
- JPGImageDecoderPlugin
- JPGLoadingContext
- JPG_DEBUG
- decode_jpg
- FuzzJPGLoader.cpp
- Few string literals or texts
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzJPEGLoader.cpp (renamed from Meta/Lagom/Fuzzers/FuzzJPGLoader.cpp) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Meta/Lagom/Fuzzers/CMakeLists.txt b/Meta/Lagom/Fuzzers/CMakeLists.txt index c3c7fc5205..9478721d27 100644 --- a/Meta/Lagom/Fuzzers/CMakeLists.txt +++ b/Meta/Lagom/Fuzzers/CMakeLists.txt @@ -32,7 +32,7 @@ add_simple_fuzzer(FuzzGzipCompression LibCompress) add_simple_fuzzer(FuzzGzipDecompression LibCompress) add_simple_fuzzer(FuzzICCProfile LibGfx) add_simple_fuzzer(FuzzICOLoader LibGfx) -add_simple_fuzzer(FuzzJPGLoader LibGfx) +add_simple_fuzzer(FuzzJPEGLoader LibGfx) add_simple_fuzzer(FuzzMatroskaReader LibVideo) add_simple_fuzzer(FuzzMD5 LibCrypto) add_simple_fuzzer(FuzzMP3Loader LibAudio) diff --git a/Meta/Lagom/Fuzzers/FuzzJPGLoader.cpp b/Meta/Lagom/Fuzzers/FuzzJPEGLoader.cpp index c9dc81de7a..c85de25cdd 100644 --- a/Meta/Lagom/Fuzzers/FuzzJPGLoader.cpp +++ b/Meta/Lagom/Fuzzers/FuzzJPEGLoader.cpp @@ -4,13 +4,13 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/JPGLoader.h> +#include <LibGfx/JPEGLoader.h> #include <stddef.h> #include <stdint.h> extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { - auto decoder_or_error = Gfx::JPGImageDecoderPlugin::create({ data, size }); + auto decoder_or_error = Gfx::JPEGImageDecoderPlugin::create({ data, size }); if (decoder_or_error.is_error()) return 0; auto decoder = decoder_or_error.release_value(); |