mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
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.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
4f48a086b7
commit
8a92573732
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user