mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
This change is in preparation for implementing audio codecs into the library and using audio as timing for video playback. (cherry picked from commit 7c10e1a08d7a109b63c9258578eb98aa9dcc1425)
17 lines
380 B
C++
17 lines
380 B
C++
/*
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibMedia/Video/VP9/Decoder.h>
|
|
#include <stddef.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(u8 const* data, size_t size)
|
|
{
|
|
AK::set_debug_enabled(false);
|
|
Media::Video::VP9::Decoder vp9_decoder;
|
|
(void)vp9_decoder.receive_sample({ data, size });
|
|
return 0;
|
|
}
|