/* * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include #include extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size) { auto matroska_reader_result = Video::Matroska::Reader::from_data({ data, size }); if (matroska_reader_result.is_error()) return 0; (void)matroska_reader_result.value().segment_information(); (void)matroska_reader_result.value().track_count(); return 0; }