blob: ede53a7b5e0d0c4b2e3d21a291d46087dc43fde5 [file] [edit]
/*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include <cstddef>
#include "modules/rtp_rtcp/source/rtp_video_header.h"
#include "modules/rtp_rtcp/source/video_rtp_depacketizer_vp8.h"
#include "test/fuzzers/fuzz_data_helper.h"
namespace webrtc {
void FuzzOneInput(FuzzDataHelper fuzz_data) {
RTPVideoHeader video_header;
VideoRtpDepacketizerVp8::ParseRtpPayload(fuzz_data.ReadRemaining(),
&video_header);
}
} // namespace webrtc