| Index: webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc
|
| diff --git a/webrtc/test/fuzzers/rtp_packet_fuzzer.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc
|
| similarity index 52%
|
| copy from webrtc/test/fuzzers/rtp_packet_fuzzer.cc
|
| copy to webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc
|
| index a9efdb96ecfe4f7a77873f54edbb55108c9497f9..cc37e1adbbd47b91a73ea6624a86cedef7a7231f 100644
|
| --- a/webrtc/test/fuzzers/rtp_packet_fuzzer.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc
|
| @@ -6,24 +6,34 @@
|
| * 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 "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
|
| +
|
| +#if !defined(RTC_DISABLE_VP9)
|
| +#error
|
| +#endif // !defined(RTC_DISABLE_VP9)
|
| +
|
| +#include "webrtc/base/checks.h"
|
| +#include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h"
|
|
|
| namespace webrtc {
|
|
|
| -void FuzzOneInput(const uint8_t* data, size_t size) {
|
| - RtpPacketReceived packet;
|
| +bool VP9Encoder::IsSupported() {
|
| + return false;
|
| +}
|
| +
|
| +VP9Encoder* VP9Encoder::Create() {
|
| + RTC_NOTREACHED();
|
| + return nullptr;
|
| +}
|
|
|
| - packet.Parse(data, size);
|
| +bool VP9Decoder::IsSupported() {
|
| + return false;
|
| +}
|
|
|
| - // Call packet accessors because they have extra checks.
|
| - packet.Marker();
|
| - packet.PayloadType();
|
| - packet.SequenceNumber();
|
| - packet.Timestamp();
|
| - packet.Ssrc();
|
| - packet.Csrcs();
|
| +VP9Decoder* VP9Decoder::Create() {
|
| + RTC_NOTREACHED();
|
| + return nullptr;
|
| }
|
|
|
| } // namespace webrtc
|
| -
|
|
|