Line | Count | Source |
1 | /* | |
2 | * Copyright (c) 2022, the SerenityOS developers. | |
3 | * | |
4 | * SPDX-License-Identifier: BSD-2-Clause | |
5 | */ | |
6 | ||
7 | #include <LibMedia/Video/VP9/Decoder.h> | |
8 | #include <stddef.h> | |
9 | ||
10 | extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size) | |
11 | 92.7k | { |
12 | 92.7k | AK::set_debug_enabled(false); |
13 | 92.7k | Media::Video::VP9::Decoder vp9_decoder; |
14 | 92.7k | (void)vp9_decoder.receive_sample(Duration::zero(), { data, size }); |
15 | 92.7k | return 0; |
16 | 92.7k | } |