summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzVP9Decoder.cpp
blob: ecd5327693d9204de57be23a1cf7e61fde6e5828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (c) 2022, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <LibVideo/VP9/Decoder.h>
#include <stddef.h>

extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size)
{
    Video::VP9::Decoder vp9_decoder;
    (void)vp9_decoder.receive_sample({ data, size });
    return 0;
}