diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-01-14 01:14:24 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-01-22 01:13:42 +0330 |
commit | 8a92573732fca3ec43ea3ab4cbecda500dfd9a8d (patch) | |
tree | 627aa526a0fc0bece734b81edefc1fd210e6d2cb /Meta/Lagom/Fuzzers | |
parent | 4f48a086b75721f246fa496bcfc07bd2b45bae0a (diff) | |
download | serenity-8a92573732fca3ec43ea3ab4cbecda500dfd9a8d.zip |
LibAudio: Convert FlacLoader to use new Core::Stream APIs :^)
For this change to work "easily", Loader can't take const ByteBuffer's
anymore, which is fine for now.
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp b/Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp index fd2b99d9d6..6e0c21f21f 100644 --- a/Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp +++ b/Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp @@ -11,7 +11,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto wav_data = ByteBuffer::copy(data, size).release_value(); - auto wav = make<Audio::WavLoaderPlugin>(wav_data); + auto wav = make<Audio::WavLoaderPlugin>(wav_data.bytes()); for (;;) { auto samples = wav->get_more_samples(); |