summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzWAVLoader.cpp2
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();