From 8a92573732fca3ec43ea3ab4cbecda500dfd9a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Fri, 14 Jan 2022 01:14:24 +0100 Subject: 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. --- Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Meta/Lagom') 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(wav_data); + auto wav = make(wav_data.bytes()); for (;;) { auto samples = wav->get_more_samples(); -- cgit v1.2.3