
Bug: webrtc:10625 Change-Id: I198031154dbb706ae1e7c15bd34a3bdf93d1a51a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/136923 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Mirta Dvornicic <mirtad@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27964}
23 lines
797 B
C++
23 lines
797 B
C++
/*
|
|
* Copyright (c) 2019 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 "modules/rtp_rtcp/source/rtp_format.h"
|
|
#include "modules/rtp_rtcp/source/rtp_format_video_generic.h"
|
|
|
|
namespace webrtc {
|
|
|
|
void FuzzOneInput(const uint8_t* data, size_t size) {
|
|
RtpDepacketizerGeneric depacketizer(/*generic_header_enabled=*/true);
|
|
RtpDepacketizer::ParsedPayload parsed_payload;
|
|
depacketizer.Parse(&parsed_payload, data, size);
|
|
}
|
|
|
|
} // namespace webrtc
|